1
0

Refactor: update DEVICE_ROLE to ACTUATOR and adjust sensor serialization logic

This commit is contained in:
Jose
2025-06-04 00:21:38 +02:00
parent e30531729a
commit 97a17b926d
3 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
#include "JsonTools.hpp"
#if DEVICE_ROLE == SENSOR
String serializeSensorValue(
int groupId,
const String &deviceId,
@@ -39,6 +40,7 @@ String serializeSensorValue(
#endif
return output;
}
#endif
#if DEVICE_ROLE == ACTUATOR
MAX7219Status_t deserializeActuatorStatus(HTTPClient &http, int httpResponseCode)