File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U) Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 * function I can see is to reference a pin in a sketch in something
1919 * like digitalWrite() and have it index into digitalPin[] to find the
2020 * actual pin. On the other hand, PIN_A* are numbers offset by PNUM_ANALOG_BASE,
21- * which serves to say that this IS an analog pin and which tells analogWrite
21+ * which serves to say that this IS an analog pin and which tells analogWrite
2222 * to index into the digitalPin[] array to find the actual pin.
2323 *----------------------------------------------------------------------------*/
2424#define PA0 PIN_A0 // A0/D0
8888
8989// Power switch ENABLE and DISCHARGE pins
9090#ifndef ENABLE_3V3
91- #define ENABLE_3V3 PH0
91+ #define ENABLE_3V3 PH0
9292#endif
9393#ifndef DISCHARGE_3V3
9494 #define DISCHARGE_3V3 PH1
9595 #define DISABLE_DISCHARGING HIGH
9696 #define ENABLE_DISCHARGING LOW
9797#endif
9898#ifndef CHARGE_DETECT
99- #define CHARGE_DETECT PA15
99+ #define CHARGE_DETECT PA15
100100#endif
101101
102102// SPI definitions
103103#ifndef PIN_SPI_SS
104- #define PIN_SPI_SS PB8 // Just default to D5, because we don't have a CS pin
104+ #define PIN_SPI_SS PB8 // Just default to D5, because we don't have a CS pin
105105#endif
106106#ifndef PIN_SPI_SS1
107107 #define PIN_SPI_SS1 PNUM_NOT_DEFINED
You can’t perform that action at this time.
0 commit comments