From 9bc3a97b269b2dcbb2656bcb74d4cbca637d19c4 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 10 Nov 2025 18:20:28 -0500 Subject: use short register names --- fw/dac.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fw/dac.h') 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); -- cgit v1.2.3