File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,9 @@ Fault_Handler_Continue2
148
148
ADDS R1 , # 4
149
149
MRS R2 , CONTROL ; Get CONTROL Reg
150
150
STR R2 ,[ R1 ]
151
- LDR R3 , =mbed_fault_handler ; Load address of mbedFaultHandler
152
151
MOV R0 , R12
153
152
LDR R1 , =mbed_fault_context
154
- BLX R3
153
+ BL mbed_fault_handler
155
154
#endif
156
155
B . ; Just in case we come back here
157
156
ENDP
Original file line number Diff line number Diff line change @@ -181,10 +181,9 @@ Fault_Handler_Continue2:
181
181
ADDS R1 , # 4
182
182
MRS R2 , CONTROL // Get CONTROL Reg
183
183
STR R2 ,[ R1 ]
184
- LDR R3 , =mbed_fault_handler // Load address of mbedFaultHandler
185
184
MOV R0 , R12
186
185
LDR R1 , =mbed_fault_context
187
- BLX R3
186
+ BL mbed_fault_handler
188
187
#endif
189
188
B . // Just in case we come back here
190
189
Original file line number Diff line number Diff line change @@ -143,10 +143,9 @@ Fault_Handler_Continue2
143
143
ADDS R1 , # 4
144
144
MRS R2 , CONTROL ; Get CONTROL Reg
145
145
STR R2 ,[ R1 ]
146
- LDR R3 , =mbed_fault_handler ; Load address of mbedFaultHandler
147
146
MOV R0 , R12
148
147
LDR R1 , =mbed_fault_context
149
- BLX R3
148
+ BL mbed_fault_handler
150
149
#endif
151
150
B . ; Just in case we come back here
152
151
#endif ; #if (MBED_FAULT_HANDLER_SUPPORT == 1)
You can’t perform that action at this time.
0 commit comments