main.c 260 Bytes
Newer Older
1

hu's avatar
hu committed
2 3 4
#include "r_typedefs.h"
#include "sys_scheduler.h"
#include "Watchdog.h"
5 6 7

extern uint32_t u32ResetFlag;

hu's avatar
hu committed
8 9 10 11 12 13
int main(void)
{
    Sys_Init();

    while (1U)
    {
14
        u32ResetFlag = 0xA55AA55AUL;
hu's avatar
hu committed
15 16 17
        Sys_Scheduling_Service();
        WDT_Clear();
    }
18
}