From 24f794ce8a670d5e3aea6e9a6b9c46782069ef7e Mon Sep 17 00:00:00 2001 From: Zenn Date: Mon, 7 Aug 2023 21:02:07 +0200 Subject: [PATCH] fix eeprom bug --- arduboy-rust/src/library/eeprom.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduboy-rust/src/library/eeprom.rs b/arduboy-rust/src/library/eeprom.rs index 6f3b10c..4ad7837 100644 --- a/arduboy-rust/src/library/eeprom.rs +++ b/arduboy-rust/src/library/eeprom.rs @@ -36,8 +36,8 @@ impl EEPROM { let c2 = self.read_start_c2(); if c1 != b'Z' || c2 != b'D' { - self.update(b'M'); - self.update(b'V'); + self.update(b'Z'); + self.update(b'D'); self.update(0); }; }