minor improvements from upstream

* add checkSettingsPIN() and get_random_wheel_index() functions
* add on/off state to UDP data
* small robustness improvements
This commit is contained in:
Frank
2024-04-09 15:43:46 +02:00
parent aff4de34b4
commit bc249379f0
5 changed files with 53 additions and 15 deletions

View File

@@ -712,6 +712,7 @@ void sendSysInfoUDP()
#else
data[38] = NODE_TYPE_ID_UNDEFINED;
#endif
if (bri) data[38] |= 0x80U; // add on/off state
data[39] = ip[3]; // unit ID == last IP number
uint32_t build = VERSION;