Skip to content

Commit

Permalink
bug: fix astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zfields committed Jun 12, 2024
1 parent 18a4226 commit e642556
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* function I can see is to reference a pin in a sketch in something
* like digitalWrite() and have it index into digitalPin[] to find the
* actual pin. On the other hand, PIN_A* are numbers offset by PNUM_ANALOG_BASE,
* which serves to say that this IS an analog pin and which tells analogWrite
* which serves to say that this IS an analog pin and which tells analogWrite
* to index into the digitalPin[] array to find the actual pin.
*----------------------------------------------------------------------------*/
#define PA0 PIN_A0 // A0/D0
Expand Down Expand Up @@ -88,20 +88,20 @@

// Power switch ENABLE and DISCHARGE pins
#ifndef ENABLE_3V3
#define ENABLE_3V3 PH0
#define ENABLE_3V3 PH0
#endif
#ifndef DISCHARGE_3V3
#define DISCHARGE_3V3 PH1
#define DISABLE_DISCHARGING HIGH
#define ENABLE_DISCHARGING LOW
#endif
#ifndef CHARGE_DETECT
#define CHARGE_DETECT PA15
#define CHARGE_DETECT PA15
#endif

// SPI definitions
#ifndef PIN_SPI_SS
#define PIN_SPI_SS PB8 // Just default to D5, because we don't have a CS pin
#define PIN_SPI_SS PB8 // Just default to D5, because we don't have a CS pin
#endif
#ifndef PIN_SPI_SS1
#define PIN_SPI_SS1 PNUM_NOT_DEFINED
Expand Down

0 comments on commit e642556

Please sign in to comment.