Fix whitespace

This commit is contained in:
Midgard 2022-03-14 19:53:28 +01:00
parent 4abd8abfaa
commit 40647eb204
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -30,9 +30,9 @@ bool render_now = true;
void setup() {
Serial.begin(115200);
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("init");
lcd.print("init");
obus_module::setup(OBUS_TYPE_INFO, 1);
}
@ -67,8 +67,8 @@ int info_generator(uint8_t* buffer) {
uint8_t generated = random(26 + 10);
if (generated < 26)
serial_number[i] = 'A' + generated;
else
serial_number[i] = '0' + (generated - 26);
else
serial_number[i] = '0' + (generated - 26);
}
}
memcpy(buffer, serial_number, SERIAL_NUMBER_SIZE);