fix formating using uncrustify 0.72

I was using uncrustify version 0.77.1 and it does not work like
the version 0.72 used by Ununtu 22.04.
This commit is contained in:
Jacques Supcik 2023-11-14 13:35:21 +01:00
parent 9b7f7d0d05
commit e8e1a1db9e
4 changed files with 12 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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