Change private type names to conform to style guide

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1194/head
Michael Richters 2 years ago
parent 1f965da243
commit d34f63e4eb
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -25,6 +25,14 @@
namespace kaleidoscope { namespace kaleidoscope {
namespace plugin { namespace plugin {
class EEPROMSettings : public kaleidoscope::Plugin { class EEPROMSettings : public kaleidoscope::Plugin {
private:
struct Settings {
uint8_t default_layer : 7;
bool ignore_hardcoded_layers : 1;
uint8_t version;
uint16_t crc;
};
public: public:
EventHandlerResult onSetup(); EventHandlerResult onSetup();
EventHandlerResult beforeEachCycle(); EventHandlerResult beforeEachCycle();
@ -67,16 +75,11 @@ class EEPROMSettings : public kaleidoscope::Plugin {
private: private:
static constexpr uint8_t IGNORE_HARDCODED_LAYER = 0x7e; static constexpr uint8_t IGNORE_HARDCODED_LAYER = 0x7e;
uint16_t next_start_ = sizeof(EEPROMSettings::settings); uint16_t next_start_ = sizeof(EEPROMSettings::Settings);
bool is_valid_; bool is_valid_;
bool sealed_; bool sealed_;
struct settings { Settings settings_;
uint8_t default_layer : 7;
bool ignore_hardcoded_layers : 1;
uint8_t version;
uint16_t crc;
} settings_;
}; };
class FocusSettingsCommand : public kaleidoscope::Plugin { class FocusSettingsCommand : public kaleidoscope::Plugin {

Loading…
Cancel
Save