Wrong operator
This commit is contained in:
parent
97e468083e
commit
2d8882b886
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ char eeprom_read_page(int length) {
|
||||||
int start = _addr*2;
|
int start = _addr*2;
|
||||||
for (int x = 0; x < length; x++) {
|
for (int x = 0; x < length; x++) {
|
||||||
int addr = start +x;
|
int addr = start +x;
|
||||||
byte ee = spi_transaction(0xA0, (addr >> 8) && 0xFF, addr && 0xFF, 0xFF);
|
byte ee = spi_transaction(0xA0, (addr >> 8) & 0xFF, addr & 0xFF, 0xFF);
|
||||||
Serial.write( ee);
|
Serial.write( ee);
|
||||||
}
|
}
|
||||||
return STK_OK;
|
return STK_OK;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue