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"
#define CRGB(r, g, b) \
(cRGB) { b, g, r }
(cRGB) { \
b, g, r \
}
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/bootloader/samd/Bossac.h"

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

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

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

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

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

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

@ -34,7 +34,7 @@ namespace plugin {
StalkerEffect::ColorComputer *StalkerEffect::variant;
uint16_t StalkerEffect::step_length = 50;
cRGB StalkerEffect::inactive_color = (cRGB){
0, 0, 0};
0, 0, 0};
StalkerEffect::TransientLEDMode::TransientLEDMode(const StalkerEffect *parent)
: parent_(parent),

@ -47,9 +47,11 @@
#define LEADER_SEQ(...) \
{ __VA_ARGS__, Key_NoKey }
#define LEADER_DICT(...) \
{ \
__VA_ARGS__, { {Key_NoKey}, NULL } \
#define LEADER_DICT(...) \
{ \
__VA_ARGS__, { \
{Key_NoKey}, NULL \
} \
}
namespace kaleidoscope {

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

@ -63,7 +63,7 @@ class MatrixAddr {
//constexpr MatrixAddr(ThisType &&other) : offset_(other.offset_) {}
ThisType &operator=(const ThisType &) = default;
ThisType &operator=(ThisType &&) = default;
ThisType &operator=(ThisType &&) = default;
template<typename MatrixAddr__>
explicit constexpr MatrixAddr(const MatrixAddr__ &other)

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

Loading…
Cancel
Save