mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Add PIC32MX/CC3100 mqtt_client example
PUBLISHED_FROM=cda885a9dc5d1203b7b59b13ea7fd7934b31260a
This commit is contained in:
1 parent
d90622630f
commit
376d2666a5
49 files changed
+9980
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2016 Cesanta Software Limited
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include "system/common/sys_module.h"
|
||||
|
||||
int main(void) {
|
||||
/* Initialize all MPLAB Harmony modules, including application(s). */
|
||||
SYS_Initialize(NULL);
|
||||
|
||||
while (1) {
|
||||
/* Maintain state machines of all polled MPLAB Harmony modules. */
|
||||
SYS_Tasks();
|
||||
}
|
||||
|
||||
/* Execution should not come here during normal operation */
|
||||
|
||||
return (EXIT_FAILURE);
|
||||
}
|
||||
Reference in new issue
Block a user