Another attempt to fix ch error
This commit is contained in:
parent
5a8841252c
commit
bbf65ff513
|
@ -14,8 +14,9 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "ch.h"
|
||||||
#include "fault_handlers.h"
|
#include "fault_handlers.h"
|
||||||
#include <hal.h>
|
#include "hal.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef FAULT_NO_PRINT
|
#ifndef FAULT_NO_PRINT
|
||||||
|
@ -130,8 +131,6 @@ static void _init_fault_info(void) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "ch.h"
|
|
||||||
|
|
||||||
static void _save_fault_info(void) {
|
static void _save_fault_info(void) {
|
||||||
memset(&fault_info, 0, sizeof(fault_info));
|
memset(&fault_info, 0, sizeof(fault_info));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue