Skip to content

Commit

Permalink
Define visualizer thread priority by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo authored and jackhumbert committed Jul 10, 2017
1 parent 011ee29 commit 8a962f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions keyboards/ergodox/infinity/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions keyboards/whitefox/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion quantum/visualizer/visualizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8a962f7

Please sign in to comment.