Compare commits
No commits in common. "2670aeb502b35dfd5596e95774d31fad87428606" and "cbf4ff2ad5e686d226a91c062cec077b0115f4d3" have entirely different histories.
2670aeb502
...
cbf4ff2ad5
2 changed files with 1 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
build
|
|
|
@ -30,7 +30,7 @@ int ifnow_now_send(ifnow_now_cfg_t *now_cfg, uint8_t *buf, uint16_t len) {
|
||||||
memcpy(&packet.wlan.sa, buf + 6, 6);
|
memcpy(&packet.wlan.sa, buf + 6, 6);
|
||||||
memcpy(&packet.wlan.bssid, buf, 6);
|
memcpy(&packet.wlan.bssid, buf, 6);
|
||||||
|
|
||||||
printf("NOW: sending %ld bytes\n", sizeof(packet));
|
printf("NOW: sending %d bytes\n", sizeof(packet));
|
||||||
|
|
||||||
for(uint16_t i = 0; i < sizeof(packet); i++) {
|
for(uint16_t i = 0; i < sizeof(packet); i++) {
|
||||||
printf("%02X ", ((uint8_t*)&packet)[i]);
|
printf("%02X ", ((uint8_t*)&packet)[i]);
|
||||||
|
|
Loading…
Reference in a new issue