1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-10-31 13:05:08 +00:00
This commit is contained in:
Stephen Crane 2018-08-14 06:18:57 +01:00
parent 7f8a15d22a
commit 77399f8d43

View File

@ -12,12 +12,12 @@ SpiRAM spiRam(SPIRAM_DEV, SPIRAM_CS);
void spiram::operator=(uint8_t b) void spiram::operator=(uint8_t b)
{ {
spiRam.write_uint8_t(_acc, b); spiRam.write_byte(_acc, b);
} }
spiram::operator uint8_t() spiram::operator uint8_t()
{ {
return spiRam.read_uint8_t(_acc); return spiRam.read_byte(_acc);
} }
void spiram::checkpoint(Stream &s) void spiram::checkpoint(Stream &s)