aboutsummaryrefslogtreecommitdiffstats
path: root/fw/can.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/can.h')
-rw-r--r--fw/can.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/can.h b/fw/can.h
index 37c6bc7..d5c0db9 100644
--- a/fw/can.h
+++ b/fw/can.h
@@ -15,8 +15,8 @@
*/
// Pin mapping
-#define CAN_CS_TRIS TRISAbits.TRISA5
-#define CAN_CS LATAbits.LATA5
+#define CAN_CS_TRIS TRISA5
+#define CAN_CS RA5
// Bit timings (CNF1, CNF2, CNF3)
#define CAN_TIMING_10K 0xDD, 0xAD, 0x06 // BRP=30, PropSeg=6, PS1=6, PS2=7, SP=65%, SJW=4