ci(pre-commit): Apply automatic fixes
This commit is contained in:
parent
9b9e6afdc6
commit
9c169fac8b
2 changed files with 24 additions and 24 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
static const uint8_t LED_BUILTIN = 47;
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
|
||||
|
||||
static const uint8_t TX = 43;
|
||||
|
|
@ -14,21 +14,21 @@ static const uint8_t SDA = 8;
|
|||
static const uint8_t SCL = 9;
|
||||
|
||||
//I2S for onboard MAX98357A only
|
||||
static const uint8_t I2S_BCLK = 5;
|
||||
static const uint8_t I2S_BCLK = 5;
|
||||
static const uint8_t I2S_LRCLK = 6;
|
||||
static const uint8_t I2S_DOUT = 7;
|
||||
static const uint8_t I2S_DOUT = 7;
|
||||
|
||||
// SPI for onboard microSD only
|
||||
static const uint8_t SS = 10;
|
||||
static const uint8_t MOSI = 11;
|
||||
static const uint8_t MISO = 13;
|
||||
static const uint8_t SCK = 12;
|
||||
static const uint8_t SS = 10;
|
||||
static const uint8_t MOSI = 11;
|
||||
static const uint8_t MISO = 13;
|
||||
static const uint8_t SCK = 12;
|
||||
|
||||
// SPI2 for public usage
|
||||
static const uint8_t SS2 = 38;
|
||||
static const uint8_t MOSI2 = 39;
|
||||
static const uint8_t MISO2 = 41;
|
||||
static const uint8_t SCK2 = 40;
|
||||
static const uint8_t SS2 = 38;
|
||||
static const uint8_t MOSI2 = 39;
|
||||
static const uint8_t MISO2 = 41;
|
||||
static const uint8_t SCK2 = 40;
|
||||
|
||||
static const uint8_t A0 = 1;
|
||||
static const uint8_t A1 = 2;
|
||||
|
|
@ -52,6 +52,6 @@ static const uint8_t T9 = 9;
|
|||
static const uint8_t T10 = 10;
|
||||
static const uint8_t T14 = 14;
|
||||
|
||||
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
|
||||
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#define USB_PID 0x1001
|
||||
|
||||
static const uint8_t LED_BUILTIN = 47;
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
|
||||
|
||||
static const uint8_t TX = 43;
|
||||
|
|
@ -17,21 +17,21 @@ static const uint8_t SDA = 8;
|
|||
static const uint8_t SCL = 9;
|
||||
|
||||
//I2S for onboard MAX98357A only
|
||||
static const uint8_t I2S_BCLK = 5;
|
||||
static const uint8_t I2S_BCLK = 5;
|
||||
static const uint8_t I2S_LRCLK = 6;
|
||||
static const uint8_t I2S_DOUT = 7;
|
||||
static const uint8_t I2S_DOUT = 7;
|
||||
|
||||
// SPI for onboard microSD only
|
||||
static const uint8_t SS = 10;
|
||||
static const uint8_t MOSI = 11;
|
||||
static const uint8_t MISO = 13;
|
||||
static const uint8_t SCK = 12;
|
||||
static const uint8_t SS = 10;
|
||||
static const uint8_t MOSI = 11;
|
||||
static const uint8_t MISO = 13;
|
||||
static const uint8_t SCK = 12;
|
||||
|
||||
// SPI2 for public usage
|
||||
static const uint8_t SS2 = 38;
|
||||
static const uint8_t MOSI2 = 39;
|
||||
static const uint8_t MISO2 = 41;
|
||||
static const uint8_t SCK2 = 40;
|
||||
static const uint8_t SS2 = 38;
|
||||
static const uint8_t MOSI2 = 39;
|
||||
static const uint8_t MISO2 = 41;
|
||||
static const uint8_t SCK2 = 40;
|
||||
|
||||
static const uint8_t A0 = 1;
|
||||
static const uint8_t A1 = 2;
|
||||
|
|
@ -55,6 +55,6 @@ static const uint8_t T9 = 9;
|
|||
static const uint8_t T10 = 10;
|
||||
static const uint8_t T14 = 14;
|
||||
|
||||
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
|
||||
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
|
|
|
|||
Loading…
Reference in a new issue