sprintf mac counter fixed

This commit is contained in:
Klaus K Wilting 2018-04-01 10:40:18 +02:00
parent 1b22c6db7b
commit 626269d62c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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