[Build] Reduce ESP8266 and ESP32-C6 DisplayB build size

This commit is contained in:
TD-er committed 2026-09-11 18:14:19 +02:00
1 parent f6bd2ea643
commit 6dfd71a4a0
25 files changed
+352 -126

No files matched your search

@@ -703,7 +703,8 @@ double ADXL345::getRate() {
readFrom(ADXL345_BW_RATE, 1, &_b);
_b &= 0b00001111;
return (pow(2, ((int)_b) - 6)) * 6.25;
return (2 << (int)_b) * 0.09765625;
// return (pow(2, ((int)_b) - 6)) * 6.25;
}
void ADXL345::setRate(double rate) {