fix build; add debug output

This commit is contained in:
Thomas Kunze
2019-07-09 21:36:32 +02:00
parent 877db57f94
commit dfe000844d
10 changed files with 46 additions and 2639 deletions

View File

@@ -5,6 +5,7 @@
#ifdef ARDUINO_ARCH_SAMD
SamdPlatform platform;
Bau07B0 bau(platform);
#define ICACHE_RAM_ATTR
#elif ARDUINO_ARCH_ESP8266
EspPlatform platform;
Bau57B0 bau(platform);
@@ -15,9 +16,9 @@ Bau57B0 bau(platform);
#define attachInterrupt(a, b, c)
#endif
bool _toogleProgMode = false;
#ifndef __linux__
KnxFacade knx(bau);
bool _toogleProgMode = false;
ICACHE_RAM_ATTR void buttonUp()
{
_toogleProgMode = true;
@@ -110,7 +111,7 @@ void KnxFacade::loop()
{
if(_toogleProgMode)
{
knx.progMode(!knx.progMode());
progMode(!progMode());
_toogleProgMode = false;
}
_bau.loop();