mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-04-05 21:15:11 +00:00
update -Wall
This commit is contained in:
parent
af72faa906
commit
c98cbe6e00
86 changed files with 523 additions and 352 deletions
|
|
@ -11,12 +11,13 @@
|
|||
#include "hal_log_uart.h"
|
||||
#include "hal_misc.h"
|
||||
#include "diag.h"
|
||||
//#include "wdt_api.h"
|
||||
//#include <osdep_service.h>
|
||||
#include "tcm_heap.h"
|
||||
#include "hal_platform.h"
|
||||
#include "rtl8195a_sys_on.h"
|
||||
#include "hal_timer.h"
|
||||
|
||||
#ifdef CONFIG_WDG_ON_IDLE
|
||||
#include "rtl8195a_wdt.h"
|
||||
#include "hal_peri_on.h"
|
||||
#include "rtl8195a_peri_on.h"
|
||||
#endif
|
||||
|
|
@ -41,6 +42,7 @@ const unsigned char cus_sig[32] = "WEB Sample";
|
|||
#define CONFIG_INTERACTIVE_MODE 1
|
||||
#endif
|
||||
|
||||
extern VOID WDGStart(VOID);
|
||||
extern void user_init_thrd(void);
|
||||
|
||||
/* RAM/TCM/Heaps info */
|
||||
|
|
@ -51,7 +53,7 @@ void ShowMemInfo(void)
|
|||
}
|
||||
|
||||
/* main */
|
||||
void main(void)
|
||||
int main(void)
|
||||
{
|
||||
#if DEBUG_MAIN_LEVEL > 3
|
||||
ConfigDebugErr = -1;
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ void sys_write_cfg(void)
|
|||
flash_write_cfg(&syscfg, FEEP_ID_SYS_CFG, sizeof(syscfg));
|
||||
}
|
||||
|
||||
extern void console_init(void);
|
||||
|
||||
void user_init_thrd(void) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue