Compare commits

...

2 Commits

Author SHA1 Message Date
Morgan 'ARR\!' Allen 2670aeb502 IGNORE ME! 2024-01-05 13:16:11 -08:00
Morgan 'ARR\!' Allen be2fe15648 fix printf d>ld warning 2024-01-05 13:15:52 -08:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

View File

@ -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]);