summaryrefslogtreecommitdiff
path: root/platformio/common/include/homekit/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/common/include/homekit/util.h')
-rw-r--r--platformio/common/include/homekit/util.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/platformio/common/include/homekit/util.h b/platformio/common/include/homekit/util.h
deleted file mode 100644
index e0780d8..0000000
--- a/platformio/common/include/homekit/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