start mqtt stuff
This commit is contained in:
@ -18,6 +18,9 @@
|
||||
#include <eeprom.h>
|
||||
#include <wizHelper.h>
|
||||
|
||||
#include <mqtt_interface.h>
|
||||
#include <mqttComm.h>
|
||||
|
||||
void my_setup_1() {
|
||||
schInit();
|
||||
logInit();
|
||||
@ -190,6 +193,8 @@ void my_setup_2() {
|
||||
|
||||
wizInit();
|
||||
|
||||
mqttCommInit(NULL);
|
||||
|
||||
// frontendInit();
|
||||
// frontendSetThreshold(240);
|
||||
|
||||
@ -205,7 +210,11 @@ void my_loop() {
|
||||
}
|
||||
|
||||
void SYSTICK_Callback() {
|
||||
// Pont Scheduler
|
||||
schUpdate();
|
||||
|
||||
// MQTT Interface
|
||||
MilliTimer_Handler()
|
||||
}
|
||||
|
||||
void HAL_GPIO_EXTI_Callback(uint16_t pin) {
|
||||
|
Reference in New Issue
Block a user