do not store pointers, this just do not work

This commit is contained in:
Pawel Spychalski (DzikuVx)
2018-05-15 17:44:50 +02:00
parent 37984e21a4
commit ab5806bf53
6 changed files with 114 additions and 65 deletions

View File

@@ -242,14 +242,13 @@ void setup(void)
#ifdef DEVICE_MODE_TX
#ifdef FEATURE_TX_OLED
oled.init(
oled.init();
oled.page(
&radioState,
&rxDeviceState,
&txDeviceState,
&button0,
&button1
TX_PAGE_INIT
);
oled.page(TX_PAGE_INIT);
#endif
/*
@@ -354,7 +353,13 @@ void loop(void)
button1.loop();
#ifdef FEATURE_TX_OLED
oled.loop();
oled.loop(
&radioState,
&rxDeviceState,
&txDeviceState,
&button0,
&button1
);
#endif
txInput.recoverStuckFrames();