From 5d7d904a7fb55bc28b75dd4bbe46e64118dd7fcc Mon Sep 17 00:00:00 2001 From: ladyada Date: Tue, 15 Sep 2026 10:38:09 -0400 Subject: [PATCH] Remove unused GPS SPI buffer Remove the unreferenced 100-byte private buffer. The Uno SD logger now uses 1865 bytes of static RAM, down from 1965 bytes. All 20 examples compile. Co-authored-by: Limor Fried --- src/Adafruit_GPS.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Adafruit_GPS.h b/src/Adafruit_GPS.h index a400ff1..4b4dd80 100644 --- a/src/Adafruit_GPS.h +++ b/src/Adafruit_GPS.h @@ -296,8 +296,6 @@ private: int8_t gpsSPI_cs = -1; SPISettings gpsSPI_settings = SPISettings(1000000, MSBFIRST, SPI_MODE0); // default - char _spibuffer[GPS_MAX_SPI_TRANSFER]; // for when we write data, we need to - // read it too! uint8_t _i2caddr; char _i2cbuffer[GPS_MAX_I2C_TRANSFER]; int8_t _buff_max = -1, _buff_idx = 0;