Move header includes in Model01Side.h outside namespace blocks

Some headers in the file Model01Side.h were included inside the namespace
`kaleidoscope::driver::keyboardio` instead of being left in the global
namespace, where they should have been.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1028/head
Michael Richters 4 years ago
parent c57c69f4c6
commit 44cffeb3c0
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -23,10 +23,6 @@
#pragma once
namespace kaleidoscope {
namespace driver {
namespace keyboardio {
#include <Arduino.h>
#include "wire-protocol-constants.h"
@ -46,6 +42,10 @@ struct cRGB {
#define LEDS_PER_HAND 32
#define LED_BYTES_PER_BANK sizeof(cRGB) * LEDS_PER_HAND/LED_BANKS
namespace kaleidoscope {
namespace driver {
namespace keyboardio {
typedef union {
cRGB leds[LEDS_PER_HAND];
byte bytes[LED_BANKS][LED_BYTES_PER_BANK];

Loading…
Cancel
Save