aboutsummaryrefslogtreecommitdiffstats
path: root/fw/dac.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-11-10 18:20:28 -0500
committerSam Anthony <sam@samanthony.xyz>2025-11-10 18:20:28 -0500
commit9bc3a97b269b2dcbb2656bcb74d4cbca637d19c4 (patch)
tree9d617e8b52ef00d42f50e20acc3d398bdddfea92 /fw/dac.h
parentd69740f148892a28c543afed7eda4ba9b5a5e4e2 (diff)
downloadcan-gauge-interface-9bc3a97b269b2dcbb2656bcb74d4cbca637d19c4.zip
use short register names
Diffstat (limited to 'fw/dac.h')
-rw-r--r--fw/dac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fw/dac.h b/fw/dac.h
index e9bf54b..3fec97a 100644
--- a/fw/dac.h
+++ b/fw/dac.h
@@ -12,10 +12,10 @@
*/
// Pin mapping
-#define DAC1_CS_TRIS TRISBbits.TRISB7
-#define DAC1_CS LATBbits.LATB7
-#define DAC2_CS_TRIS TRISBbits.TRISB5
-#define DAC2_CS LATBbits.LATB5
+#define DAC1_CS_TRIS TRISB7
+#define DAC1_CS RB7
+#define DAC2_CS_TRIS TRISB5
+#define DAC2_CS RB5
void dacInit(void);