sprintf mac counter fixed
This commit is contained in:
parent
1b22c6db7b
commit
626269d62c
@ -27,6 +27,6 @@ void BLECount() {
|
||||
u8x8.clearLine(3);
|
||||
u8x8.setCursor(0,3);
|
||||
blenum=foundDevices.getCount();
|
||||
u8x8.printf("BLE#: %5i",blenum);
|
||||
u8x8.printf("BLE#: %-5i",blenum);
|
||||
}
|
||||
#endif
|
@ -211,7 +211,7 @@ void wifi_sniffer_loop(void * pvParameters) {
|
||||
|
||||
// Prepare and execute LoRaWAN data upload
|
||||
u8x8.setCursor(0,4);
|
||||
u8x8.printf("MAC#: %5i", macnum);
|
||||
u8x8.printf("MAC#: %-5i", macnum);
|
||||
do_send(&sendjob); // send payload
|
||||
vTaskDelay(500/portTICK_PERIOD_MS);
|
||||
yield();
|
||||
|
Loading…
Reference in New Issue
Block a user