]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Define visualizer thread priority by default
authorFred Sundvik <fsundvik@gmail.com>
Sun, 9 Jul 2017 11:03:36 +0000 (14:03 +0300)
committerJack Humbert <jack.humb@gmail.com>
Mon, 10 Jul 2017 13:01:59 +0000 (09:01 -0400)
keyboards/ergodox/infinity/config.h
keyboards/whitefox/config.h
quantum/visualizer/visualizer.c

index 25cc8af0fcc74d9b81ad213b0d3f4212bbed8b82..fa157a893f9dc3cb6afd2b6af98fdd5ab12a54ac 100644 (file)
@@ -51,8 +51,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #define SERIAL_LINK_BAUD 562500
 #define SERIAL_LINK_THREAD_PRIORITY (NORMALPRIO - 1)
-// The visualizer needs gfx thread priorities
-#define VISUALIZER_THREAD_PRIORITY (NORMAL_PRIORITY - 2)
 
 #define VISUALIZER_USER_DATA_SIZE 16
 
index 08de9b9aa8dc4f890288f4f16f21b9db14bcdb6b..76040bd7440d2cf772e30a5ecd42ecaeb6768d9f 100644 (file)
@@ -87,6 +87,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define LED_DISPLAY_NUMBER 0
 
 #define LED_NUM_ROWS 5
-#define LED_NUM_COLS 16
-
-#define VISUALIZER_THREAD_PRIORITY (NORMAL_PRIORITY - 2)
+#define LED_NUM_COLS 16
\ No newline at end of file
index cc99d1e3b6e80a29c659bbc579e7a51463644670..68b86f590cd21588341cbe89b72297431b17eb0f 100644 (file)
@@ -52,7 +52,8 @@ SOFTWARE.
 
 // Define this in config.h
 #ifndef VISUALIZER_THREAD_PRIORITY
-#define "Visualizer thread priority not defined"
+// The visualizer needs gfx thread priorities
+#define VISUALIZER_THREAD_PRIORITY (NORMAL_PRIORITY - 2)
 #endif
 
 static visualizer_keyboard_status_t current_status = {