boots normally now
This commit is contained in:
parent
4e20578b20
commit
c802f901f5
5 changed files with 133 additions and 96 deletions
|
@ -20,7 +20,6 @@ ClimateCard ac = ClimateCard(AC_IR_TX_PIN, ac_config, AC_SENSOR_TYPE, AC_SENSOR_
|
|||
|
||||
cud_display_conf_t cud_display_conf = {
|
||||
.aqi = &aqi,
|
||||
.ac = &ac,
|
||||
.uart = &DISPLAY_UART,
|
||||
.tx = DISPLAY_TX,
|
||||
.rx = DISPLAY_RX,
|
||||
|
@ -99,7 +98,11 @@ void setup()
|
|||
espmega.inputs.registerCallback(handle_input_change);
|
||||
// Start the display routine
|
||||
ESP_LOGV("CUD IoT OS", "Starting CUDDisplay");
|
||||
cudDisplay.begin();
|
||||
cud_display_cards_t cards = {
|
||||
.inputCard = &espmega.inputs,
|
||||
.outputCard = &espmega.outputs,
|
||||
.ac = &ac};
|
||||
cudDisplay.begin(cards);
|
||||
ESP_LOGI("CUD IoT OS", "Initialization Complete");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue