diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-17 04:06:18 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-17 04:06:18 +0300 |
commit | c0111bf4d3dd91f54d27346970e4c6e0a1ce357e (patch) | |
tree | beb15167412bc3ed60e3e11e9076d27ea6f437e5 /platformio/relayctl/src/util.h | |
parent | 893e21cc83ee1ecf236a005f1bf4893448e9b3ea (diff) |
pio: products refactoring
Diffstat (limited to 'platformio/relayctl/src/util.h')
-rw-r--r-- | platformio/relayctl/src/util.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/platformio/relayctl/src/util.h b/platformio/relayctl/src/util.h deleted file mode 100644 index e0780d8..0000000 --- a/platformio/relayctl/src/util.h +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -namespace homekit { - -inline size_t otaGetMaxUpdateSize() { - return (ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000; -} - -inline void restart() { - ESP.restart(); -} - -}
\ No newline at end of file |