Added production SensebenderGW sketch

preHwInit also added to hook into core startup
before hwInit is called
This commit is contained in:
Thomas Mørch
2016-08-02 23:39:18 +02:00
parent b293f47a7f
commit 3ba13f1c8c
3 changed files with 263 additions and 3 deletions
+4 -1
View File
@@ -66,8 +66,11 @@ void _infiniteLoop() {
void _begin() {
if (preHwInit)
preHwInit();
#if !defined(MY_DISABLED_SERIAL)
hwInit();
hwInit();
#endif
debug(PSTR("MCO:BGN:INIT " MY_NODE_TYPE ",CP=" MY_CAPABILITIES ",VER=" MYSENSORS_LIBRARY_VERSION "\n"));