debug works in interrupt mode now, needs some refactoring, MBUSYield stops the whole system
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include <logger.h>
|
||||
#include <PontCoopScheduler.h>
|
||||
#include <wizHelper.h>
|
||||
#include <show.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
@ -61,7 +62,10 @@ static void messageArrived(MessageData* md)
|
||||
}
|
||||
|
||||
static void mqttHandler(void *handle) {
|
||||
// MQTTYield(&mqttClient, data.keepAliveInterval);
|
||||
show(DEBUG_2, ON);
|
||||
MQTTYield(&mqttClient, data.keepAliveInterval);
|
||||
show(DEBUG_2, OFF);
|
||||
|
||||
}
|
||||
|
||||
void mqttCommInit(void *handle) {
|
||||
|
Reference in New Issue
Block a user