diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 16:55:59 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 16:55:59 -0400 |
| commit | 01bd9cbc6fe64f236a1b467f011e56dcae0306e7 (patch) | |
| tree | dc74cfa742d77befcbe58715e3ae7a2727c89781 /fw/eeprom.c | |
| parent | a0c6bbb21c5e7d9e0090e66c316cf88ef7f0726b (diff) | |
| download | can-gauge-interface-01bd9cbc6fe64f236a1b467f011e56dcae0306e7.zip | |
table module
Diffstat (limited to 'fw/eeprom.c')
| -rw-r--r-- | fw/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/eeprom.c b/fw/eeprom.c index e832fa0..fdce167 100644 --- a/fw/eeprom.c +++ b/fw/eeprom.c @@ -118,7 +118,7 @@ eepromWrite(U16 addr, U8 *data, U8 size) { while (size--) { (void)spiTx(*data); data++; - addU16(&addr, 1u); + addr = addU16U8(addr, 1u); // Check if write crosses page boundary if (isPageStart(addr) && size) { |