fix style to pass pre-commit checks

This commit is contained in:
Jacques Supcik 2023-11-14 08:39:08 +01:00
parent 388807e725
commit 9b7f7d0d05
4 changed files with 12 additions and 12 deletions

View File

@ -34,14 +34,14 @@
// clang-format off
#define CIRCUITPY_BOARD_I2C (1)
#define CIRCUITPY_BOARD_I2C_PIN { \
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
// clang-format on
// clang-format off
#define CIRCUITPY_BOARD_SPI (2)
#define CIRCUITPY_BOARD_SPI_PIN { \
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
// clang-format on
// UART pins attached to the USB-serial converter chip

View File

@ -34,14 +34,14 @@
// clang-format off
#define CIRCUITPY_BOARD_I2C (1)
#define CIRCUITPY_BOARD_I2C_PIN { \
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
// clang-format on
// clang-format off
#define CIRCUITPY_BOARD_SPI (2)
#define CIRCUITPY_BOARD_SPI_PIN { \
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
// clang-format on
// UART pins attached to the USB-serial converter chip

View File

@ -34,14 +34,14 @@
// clang-format off
#define CIRCUITPY_BOARD_I2C (1)
#define CIRCUITPY_BOARD_I2C_PIN { \
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
// clang-format on
// clang-format off
#define CIRCUITPY_BOARD_SPI (2)
#define CIRCUITPY_BOARD_SPI_PIN { \
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
// clang-format on
// UART pins attached to the USB-serial converter chip

View File

@ -34,14 +34,14 @@
// clang-format off
#define CIRCUITPY_BOARD_I2C (1)
#define CIRCUITPY_BOARD_I2C_PIN { \
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
{ .scl = &pin_GPIO22, .sda = &pin_GPIO21 }}
// clang-format on
// clang-format off
#define CIRCUITPY_BOARD_SPI (2)
#define CIRCUITPY_BOARD_SPI_PIN { \
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
{ .clock = &pin_GPIO14, .mosi = &pin_GPIO13, .miso = &pin_GPIO12 }, \
{ .clock = &pin_GPIO7, .mosi = &pin_GPIO5, .miso = &pin_GPIO8 }}
// clang-format on
// UART pins attached to the USB-serial converter chip