aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-11-01 18:05:31 -0400
committerSam Anthony <sam@samanthony.xyz>2025-11-01 18:05:31 -0400
commitad0456a48388acf9eff97cf4912e0911189b480e (patch)
tree47346b621b8dd5f4b711be1c8de54e955a0ddb4c
parentab4450a942b551f4c999ae67fd52aa662a1a44f4 (diff)
downloadcan-gauge-interface-ad0456a48388acf9eff97cf4912e0911189b480e.zip
remove xc.h from modules that don't need it
-rw-r--r--fw/can.h1
-rw-r--r--fw/dac.h1
-rw-r--r--fw/eeprom.h1
-rw-r--r--fw/serial.c2
-rw-r--r--fw/table.c2
5 files changed, 3 insertions, 4 deletions
diff --git a/fw/can.h b/fw/can.h
index 206cb1d..621b20f 100644
--- a/fw/can.h
+++ b/fw/can.h
@@ -7,6 +7,7 @@
*
* Usage:
*
+ * #include <xc.h>
* #include <stdbool.h>
* #include <stdint.h>
* #include "types.h"
diff --git a/fw/dac.h b/fw/dac.h
index 300a942..1882c3e 100644
--- a/fw/dac.h
+++ b/fw/dac.h
@@ -5,6 +5,7 @@
*
* Usage:
*
+ * #include <xc.h>
* #include <stdint.h>
* #include "types.h"
* #include "dac.h"
diff --git a/fw/eeprom.h b/fw/eeprom.h
index 96d8482..8d3d391 100644
--- a/fw/eeprom.h
+++ b/fw/eeprom.h
@@ -5,6 +5,7 @@
*
* Usage:
*
+ * #include <xc.h>
* #include <stdint.h>
* #include "types.h"
* #include "eeprom.h"
diff --git a/fw/serial.c b/fw/serial.c
index 42a37b4..4c92bf1 100644
--- a/fw/serial.c
+++ b/fw/serial.c
@@ -1,5 +1,3 @@
-#include <xc.h>
-
#include <stdbool.h>
#include <stdint.h>
diff --git a/fw/table.c b/fw/table.c
index 14f7090..41c1bc4 100644
--- a/fw/table.c
+++ b/fw/table.c
@@ -1,5 +1,3 @@
-#include <xc.h>
-
#include <stdbool.h>
#include <stdint.h>