Let clang-format 14 do its thing.

f/clang-format-14
Jesse Vincent 2 years ago
parent da42157c64
commit cb340e9637
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -24,7 +24,9 @@
#include "kaleidoscope/device/dygma/raise/RaiseSide.h" #include "kaleidoscope/device/dygma/raise/RaiseSide.h"
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#include "kaleidoscope/device/Base.h" #include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/bootloader/samd/Bossac.h" #include "kaleidoscope/driver/bootloader/samd/Bossac.h"

@ -34,7 +34,9 @@ struct cRGB {
}; };
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#include "kaleidoscope/device/ATmega32U4Keyboard.h" #include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h" #include "kaleidoscope/driver/bootloader/avr/HalfKay.h"

@ -28,7 +28,9 @@ struct cRGB {
}; };
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#include "kaleidoscope/device/ATmega32U4Keyboard.h" #include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h" #include "kaleidoscope/driver/bootloader/avr/Caterina.h"

@ -33,7 +33,9 @@
// IWYU pragma: no_include "kaleidoscope/KeyAddr.h" // IWYU pragma: no_include "kaleidoscope/KeyAddr.h"
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
struct cRGB { struct cRGB {
uint8_t b; uint8_t b;

@ -35,7 +35,9 @@ struct cRGB {
uint8_t r; uint8_t r;
}; };
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#endif #endif
#define LED_BANKS 4 #define LED_BANKS 4

@ -22,7 +22,9 @@
#include <Arduino.h> #include <Arduino.h>
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
struct cRGB { struct cRGB {
uint8_t b; uint8_t b;

@ -35,7 +35,9 @@ struct cRGB {
uint8_t r; uint8_t r;
}; };
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#endif #endif
#define LED_BANKS 4 #define LED_BANKS 4

@ -49,7 +49,9 @@
{ __VA_ARGS__, Key_NoKey } { __VA_ARGS__, Key_NoKey }
#define LEADER_DICT(...) \ #define LEADER_DICT(...) \
{ \ { \
__VA_ARGS__, { {Key_NoKey}, NULL } \ __VA_ARGS__, { \
{Key_NoKey}, NULL \
} \
} }
namespace kaleidoscope { namespace kaleidoscope {

@ -39,7 +39,9 @@
#ifndef SPACECADET_MAP_END #ifndef SPACECADET_MAP_END
#define SPACECADET_MAP_END \ #define SPACECADET_MAP_END \
(kaleidoscope::plugin::SpaceCadet::KeyBinding) { Key_NoKey, Key_NoKey, 0 } (kaleidoscope::plugin::SpaceCadet::KeyBinding) { \
Key_NoKey, Key_NoKey, 0 \
}
#endif #endif
constexpr Key Key_SpaceCadetEnable = Key(kaleidoscope::ranges::SC_FIRST); constexpr Key Key_SpaceCadetEnable = Key(kaleidoscope::ranges::SC_FIRST);

@ -26,7 +26,9 @@ struct cRGB {
}; };
#define CRGB(r, g, b) \ #define CRGB(r, g, b) \
(cRGB) { b, g, r } (cRGB) { \
b, g, r \
}
#endif #endif

Loading…
Cancel
Save