Browse Source

Define visualizer thread priority by default

pull/1433/head
Fred Sundvik 6 years ago
committed by Jack Humbert
parent
commit
8a962f7b27
3 changed files with 3 additions and 6 deletions
  1. +0
    -2
      keyboards/ergodox/infinity/config.h
  2. +1
    -3
      keyboards/whitefox/config.h
  3. +2
    -1
      quantum/visualizer/visualizer.c

+ 0
- 2
keyboards/ergodox/infinity/config.h View 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


+ 1
- 3
keyboards/whitefox/config.h View 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

+ 2
- 1
quantum/visualizer/visualizer.c View 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 = {


Loading…
Cancel
Save