🔥 Remove json from sensor implementations

This commit is contained in:
Rune Harlyk
2026-01-03 13:03:55 +01:00
committed by nikguin04
parent fa332995f9
commit 4c6b0c316d
8 changed files with 7 additions and 143 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ void setupEventSocket() {
socket.on<socket_message_I2CScanDataRequest>([&](const socket_message_I2CScanDataRequest &data, int clientId) {
peripherals.scanI2C();
socket_message_I2CScanData result = socket_message_I2CScanData_init_zero;
peripherals.getI2CResultProto(result);
peripherals.getI2CScanProto(result);
socket.emit(result, clientId);
});