Skip to content

Commit f7a03de

Browse files
committed
Moved include from header to source file in OS Fault Handler to resolve inclusion conflics in user code
1 parent bedd9de commit f7a03de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

h/_root/generic/fdrv_FaultHandler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
#include <stdint.h>
2121
#include <stdbool.h>
2222

23-
#include "apl/config/UserFaultObjects.h"
24-
2523
/*!FAULT_OBJECT_STATUS_t
2624
* ***********************************************************************************************
2725
* Description:

src/_root/generic/fdrv_FaultHandler.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
#include <stdint.h>
3737
#include <stddef.h>
3838
#include <math.h>
39+
3940
#include "_root/generic/os_Globals.h"
41+
#include "apl/config/UserFaultObjects.h"
4042

4143
/* private function prototypes */
4244
volatile uint16_t CheckFaultCondition(volatile FAULT_OBJECT_t* fltobj);

0 commit comments

Comments
 (0)