mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Final v2.3.1
This commit is contained in:
parent
3f07b481dc
commit
54f98805b4
17 changed files with 318 additions and 503 deletions
4
Utils.h
4
Utils.h
|
|
@ -1,9 +1,13 @@
|
|||
#ifndef utils_h
|
||||
#define utils_h
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
#define DEBUG_SOMFY Serial
|
||||
|
||||
|
||||
|
||||
|
||||
[[maybe_unused]] static void SETCHARPROP(char *prop, const char *value, size_t size) {strncpy(prop, value, size); prop[size - 1] = '\0';}
|
||||
namespace util {
|
||||
// Createa a custom to_string function. C++ can be annoying
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue