mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
github: enable warnings
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
5f183bfc42
commit
5b0e19438a
10 changed files with 26 additions and 20 deletions
2
Utils.h
2
Utils.h
|
|
@ -37,7 +37,7 @@ static void _rtrim(char *str) {
|
|||
while(e >= 0 && (str[e] == ' ' || str[e] == '\n' || str[e] == '\r' || str[e] == '\t' || str[e] == '"')) {str[e] = '\0'; e--;}
|
||||
}
|
||||
static void _trim(char *str) { _ltrim(str); _rtrim(str); }
|
||||
typedef struct rebootDelay_t {
|
||||
struct rebootDelay_t {
|
||||
bool reboot = false;
|
||||
int rebootTime = 0;
|
||||
bool closed = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue