Commit 1fdc858301892a3d0615cae4a65315062f3a91bf

Authored by LuoZheSi
1 parent 552c25af

style(function name):change one function name

app_defalt_poweron_souce to app_default_poweron_souce
@@ -144,10 +144,10 @@ const APP_NAV_SOURCE source_table[] = @@ -144,10 +144,10 @@ const APP_NAV_SOURCE source_table[] =
144 }; 144 };
145 145
146 /******************************************************************************** 146 /********************************************************************************
147 -* poweron defalt souce * 147 +* poweron default souce *
148 *********************************************************************************/ 148 *********************************************************************************/
149 149
150 -U8 app_defalt_poweron_souce (void) 150 +U8 app_default_poweron_souce (void)
151 { 151 {
152 if (sizeof(source_table) != 0) 152 if (sizeof(source_table) != 0)
153 { 153 {
@@ -300,14 +300,14 @@ int app_main(void) @@ -300,14 +300,14 @@ int app_main(void)
300 else 300 else
301 { 301 {
302 boot_param.reset_type = HW_RESET; 302 boot_param.reset_type = HW_RESET;
303 - app_main_data.media = app_defalt_poweron_souce (); 303 + app_main_data.media = app_default_poweron_souce ();
304 } 304 }
305 305
306 #ifdef UPGRADE_PROJECT_ENABLE 306 #ifdef UPGRADE_PROJECT_ENABLE
307 307
308 if (boot_param.reset_type == UPGRADE_SUCCESS) 308 if (boot_param.reset_type == UPGRADE_SUCCESS)
309 { 309 {
310 - app_main_data.media = app_defalt_poweron_souce(); 310 + app_main_data.media = app_default_poweron_souce();
311 //demo_func_disp = TRUE; 311 //demo_func_disp = TRUE;
312 //app_pre_state_saving(); 312 //app_pre_state_saving();
313 DBG_NO_OS_Printf("upgrade success\n\r"); 313 DBG_NO_OS_Printf("upgrade success\n\r");
@@ -1106,7 +1106,7 @@ void SoftResetInit(void) @@ -1106,7 +1106,7 @@ void SoftResetInit(void)
1106 for(i=0; i<TIMER_NUMBER; i++,timer++) 1106 for(i=0; i<TIMER_NUMBER; i++,timer++)
1107 { 1107 {
1108 //timer->on.hour = timer->off.hour = 0; 1108 //timer->on.hour = timer->off.hour = 0;
1109 - timer->source = app_defalt_poweron_souce(); 1109 + timer->source = app_default_poweron_souce();
1110 timer->vol = VOLUME_DEFAULT; 1110 timer->vol = VOLUME_DEFAULT;
1111 timer->source_bak = timer->source; 1111 timer->source_bak = timer->source;
1112 //timer->start_wday = 0; 1112 //timer->start_wday = 0;
@@ -129,7 +129,7 @@ extern U32 __TEXT_START35_END[]; @@ -129,7 +129,7 @@ extern U32 __TEXT_START35_END[];
129 extern U32 SYSTEM_STACK_START[]; 129 extern U32 SYSTEM_STACK_START[];
130 extern U32 SYSTEM_STACK_END[]; 130 extern U32 SYSTEM_STACK_END[];
131 131
132 -U8 app_defalt_poweron_souce (void); 132 +U8 app_default_poweron_souce (void);
133 133
134 #define SYSTEM_STACK_SPACE_TEST 134 #define SYSTEM_STACK_SPACE_TEST
135 135
@@ -1025,7 +1025,7 @@ void Flash_Boot_Switch(void) @@ -1025,7 +1025,7 @@ void Flash_Boot_Switch(void)
1025 else 1025 else
1026 { 1026 {
1027 #if 1 1027 #if 1
1028 - app_main_data.media = app_defalt_poweron_souce (); 1028 + app_main_data.media = app_default_poweron_souce ();
1029 1029
1030 sram_boot_config[6] = '1'; 1030 sram_boot_config[6] = '1';
1031 sram_boot_config[7] = 'S'; 1031 sram_boot_config[7] = 'S';
Please register or login to post a comment