Structs renamed for new coding style (closes #42)

This commit is contained in:
Martin Jaeger
2019-08-08 10:16:16 +02:00
parent 3261414fcf
commit c968a6bb8a
24 changed files with 427 additions and 390 deletions
+3 -2
View File
@@ -69,6 +69,7 @@ static const PinName led_pins[NUM_LED_PINS] = {
// A B C
PB_13, PB_14, PB_15
};
/*
static const pin_state_t led_pin_setup[NUM_LEDS][NUM_LED_PINS] = {
{ PIN_HIGH, PIN_LOW, PIN_FLOAT }, // LED1
{ PIN_LOW, PIN_HIGH, PIN_FLOAT }, // LED2
@@ -76,8 +77,8 @@ static const pin_state_t led_pin_setup[NUM_LEDS][NUM_LED_PINS] = {
{ PIN_FLOAT, PIN_HIGH, PIN_LOW }, // LED4
{ PIN_FLOAT, PIN_LOW, PIN_HIGH } // LED5
};
*/
/*
// LEDs with wrong polarity
static const pin_state_t led_pin_setup[NUM_LEDS][NUM_LED_PINS] = {
{ PIN_LOW, PIN_HIGH, PIN_FLOAT }, // LED1
@@ -86,7 +87,7 @@ static const pin_state_t led_pin_setup[NUM_LEDS][NUM_LED_PINS] = {
{ PIN_FLOAT, PIN_LOW, PIN_HIGH }, // LED4
{ PIN_FLOAT, PIN_HIGH, PIN_LOW } // LED5
};
*/
// pin definition only needed in adc_dma.cpp to detect if they are present on the PCB
#define PIN_ADC_TEMP_BAT