mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
This reverts commit 1a17e17c462bdd4e1d26d8742f8b7087273e04c2. PUBLISHED_FROM=80028de308c9a021955d1425d2bfee8feb85f193
23 lines
491 B
C
23 lines
491 B
C
/*
|
|
* 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);
|
|
}
|