Compare commits
2 commits
cbf4ff2ad5
...
2670aeb502
Author | SHA1 | Date | |
---|---|---|---|
|
2670aeb502 | ||
|
be2fe15648 |
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
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.bssid, buf, 6);
|
||||
|
||||
printf("NOW: sending %d bytes\n", sizeof(packet));
|
||||
printf("NOW: sending %ld bytes\n", sizeof(packet));
|
||||
|
||||
for(uint16_t i = 0; i < sizeof(packet); i++) {
|
||||
printf("%02X ", ((uint8_t*)&packet)[i]);
|
||||
|
|
Loading…
Reference in a new issue