|
|
@@ -18,7 +18,7 @@ void NMI_Handler(void)
|
|
|
*/
|
|
|
void HardFault_Handler(void){
|
|
|
/* if Hard Fault exception occurs, go to infinite loop */
|
|
|
- nv_save_soc();
|
|
|
+ nv_save_all_soc();
|
|
|
while (1){
|
|
|
}
|
|
|
}
|
|
|
@@ -32,7 +32,7 @@ void HardFault_Handler(void){
|
|
|
void MemManage_Handler(void)
|
|
|
{
|
|
|
/* if Memory Manage exception occurs, go to infinite loop */
|
|
|
- nv_save_soc();
|
|
|
+ nv_save_all_soc();
|
|
|
while (1){
|
|
|
}
|
|
|
}
|
|
|
@@ -46,7 +46,7 @@ void MemManage_Handler(void)
|
|
|
void BusFault_Handler(void)
|
|
|
{
|
|
|
/* if Bus Fault exception occurs, go to infinite loop */
|
|
|
- nv_save_soc();
|
|
|
+ nv_save_all_soc();
|
|
|
while (1){
|
|
|
}
|
|
|
}
|
|
|
@@ -60,7 +60,7 @@ void BusFault_Handler(void)
|
|
|
void UsageFault_Handler(void)
|
|
|
{
|
|
|
/* if Usage Fault exception occurs, go to infinite loop */
|
|
|
- nv_save_soc();
|
|
|
+ nv_save_all_soc();
|
|
|
while (1){
|
|
|
}
|
|
|
}
|