don't clear EEPROM for Pico

pull/294/head
Alan Johnston 2 years ago committed by GitHub
parent 44c219b73f
commit 103aac7277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -262,10 +262,12 @@ void loop() {
setup(); setup();
} }
else if (result == 'C') { else if (result == 'C') {
#ifndef ARDUINO_ARCH_RP2040
Serial.println("Clearing stored gyro offsets in EEPROM\n"); Serial.println("Clearing stored gyro offsets in EEPROM\n");
eeprom_word_write(0, 0x00); eeprom_word_write(0, 0x00);
first_time = true; first_time = true;
setup(); setup();
#endif
} }
if ((result == '?') || first_time == true) if ((result == '?') || first_time == true)

Loading…
Cancel
Save

Powered by TurnKey Linux.