Re-arrange typing_speed definitions (Fixes #5) (#6)

* Re-arrange variable definitions to avoid including quantum.h from rgblight.c

* Fix a compilation error when trying to run make test:all
This commit is contained in:
Chris Lewis
2018-07-28 15:54:08 +10:00
committed by GitHub
parent 7cefccd13e
commit e783cb06f7
4 changed files with 10 additions and 9 deletions
-3
View File
@@ -55,9 +55,6 @@
#include "send_string_keycodes.h"
extern uint32_t default_layer_state;
//Used in rgblight.c to match RGB animation to typing speed
extern uint8_t typing_speed;
#define TYPING_SPEED_MAX_VALUE 100
#ifndef NO_ACTION_LAYER
extern uint32_t layer_state;