diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-11-10 18:20:28 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-11-10 18:20:28 -0500 |
| commit | 9bc3a97b269b2dcbb2656bcb74d4cbca637d19c4 (patch) | |
| tree | 9d617e8b52ef00d42f50e20acc3d398bdddfea92 /fw/dac.h | |
| parent | d69740f148892a28c543afed7eda4ba9b5a5e4e2 (diff) | |
| download | can-gauge-interface-9bc3a97b269b2dcbb2656bcb74d4cbca637d19c4.zip | |
use short register names
Diffstat (limited to 'fw/dac.h')
| -rw-r--r-- | fw/dac.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |