mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-08 01:42:52 +08:00
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);
|
|
}
|