diff --git a/rp06.cpp b/rp06.cpp index 6fd2ffb..3fe5b97 100644 --- a/rp06.cpp +++ b/rp06.cpp @@ -106,7 +106,7 @@ void rp06::write_byte(const uint16_t addr, const uint8_t v) vtemp |= v; } - write_word(addr, vtemp); + write_word(addr & ~1, vtemp); } uint32_t rp06::compute_offset() const