mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-10-26 22:10:45 +00:00
[Build] Reduce ESP8266 and ESP32-C6 DisplayB build size
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user