mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-13 15:41:17 +00:00
20 lines
613 B
C
20 lines
613 B
C
#include <stddef.h> // Defines NULL
|
|
#include <stdbool.h> // Defines true
|
|
#include <stdlib.h> // Defines EXIT_FAILURE
|
|
#include "system/common/sys_module.h" // SYS function prototypes
|
|
|
|
int main ( void )
|
|
{
|
|
/* Initialize all MPLAB Harmony modules, including application(s). */
|
|
SYS_Initialize ( NULL );
|
|
|
|
while ( true )
|
|
{
|
|
/* Maintain state machines of all polled MPLAB Harmony modules. */
|
|
SYS_Tasks ( );
|
|
|
|
}
|
|
|
|
/* Execution should not come here during normal operation */
|
|
return ( EXIT_FAILURE );
|
|
} |