WXK
2025-01-21 8f1a91a8ec98e430cfe4357bda099d495917198e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 *******************************************************************************
 * @file     main.c
 * @create   2023-08-01    
 * @author   Panchip BLE GROUP
 * @note
 * Copyright (c) 2022 Shanghai Panchip Microelectronics Co.,Ltd.
 *
 *******************************************************************************
 */
#include "app.h"
 
int main(void)
{
    /* user initialization entry. */
    setup();
    
    /**
     *  "main()" is a thread if CONFIG_OS_EN=1
      *  "main()" is a main entry if CONFIG_OS_EN=0
     *  
     *  If the user is using the main thread, you need to enable the following code 
     *  and add the user's processing logic to the "loop()" function.
     */
#if 0
    while(1)
    {
        loop();
    }
#endif
}