fix printf d>ld warning
This commit is contained in:
parent
cbf4ff2ad5
commit
be2fe15648
1 changed files with 1 additions and 1 deletions
|
@ -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