Revert "Unfuck accelerometer" (#480)

* Revert "Unfuck accelerometer"

This reverts commit 0425f66561.

* Bump protocol version
This commit is contained in:
Butterscotch!
2026-01-07 00:56:52 -05:00
committed by GitHub
parent 6cd29c7cea
commit 12f4b22dac
2 changed files with 2 additions and 1 deletions

View File

@@ -96,7 +96,7 @@
// Not recommended for production
#define ENABLE_INSPECTION false
#define PROTOCOL_VERSION 21
#define PROTOCOL_VERSION 22
#ifndef FIRMWARE_VERSION
#define FIRMWARE_VERSION "UNKNOWN"

View File

@@ -33,6 +33,7 @@ SensorStatus Sensor::getSensorState() {
void Sensor::setAcceleration(Vector3 a) {
acceleration = a;
sensorOffset.sandwich(acceleration);
newAcceleration = true;
}