   // the states of A0, A1, A2, and A3 as a Pressed enum object
   auto button_states = static_cast<Pressed>(PINC & B1111);
 
-  switch(Mode) {
-    case NORMAL_MODE: {
+  switch(CurrentMode) {
+    case Mode::NORMAL: {
       switch (button_states) {
         case Pressed::a: {
           GlobalPendingOperations.cycle_brightness = 1;

      }
    } break;

    case MISC_MODE: {
      switch (button_states) {
        case Pressed::d: {
          Mode = NORMAL_MODE;
        } break;

        case Pressed::a: {

  cd   = c|d,
};

enum class Mode : uint8_t {
  NORMAL,
  COLOR_CEILING,
  COLOR_FLOOR,
  VIDEO_PLAYBACK,
  MACRO,
  MISC,
} CurrentMode;

struct PendingOperations
{
