Skip to content

Commit

Permalink
Update firmware function that returns bootloader version
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-b-jakobsson committed Jul 24, 2024
1 parent 10573ce commit 78f980f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x16-smc.ino
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,9 @@ void I2C_Send() {
if (pgm_read_byte(0x1e00) == 0x8a) {
smcWire.write(pgm_read_byte(0x1e01));
}
else if (pgm_read_byte(0x1ffe) == 0x8a) {
smcWire.write(pgm_read_byte(0x1fff));
}
else {
smcWire.write(0xff);
}
Expand Down

0 comments on commit 78f980f

Please sign in to comment.