From 384d14b2eba2d47a25f5fd84e5a3da9758796f7b Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Tue, 14 Aug 2018 06:18:57 +0100 Subject: [PATCH] fix typo --- spiram.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spiram.cpp b/spiram.cpp index 53f7d6b..5f5d7a3 100644 --- a/spiram.cpp +++ b/spiram.cpp @@ -12,12 +12,12 @@ SpiRAM spiRam(SPIRAM_DEV, SPIRAM_CS); void spiram::operator=(uint8_t b) { - spiRam.write_uint8_t(_acc, b); + spiRam.write_byte(_acc, b); } spiram::operator uint8_t() { - return spiRam.read_uint8_t(_acc); + return spiRam.read_byte(_acc); } void spiram::checkpoint(Stream &s)