From 516ba9eb806830662f4fed27d417031dc89f443b Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 22 Jun 2018 19:28:39 -0400 Subject: [PATCH] more things to tryy --- keyboards/qwiic_hub/boards/GENERIC_STM32_F303XC/board.h | 6 +++--- keyboards/qwiic_hub/qwiic_hub.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/qwiic_hub/boards/GENERIC_STM32_F303XC/board.h b/keyboards/qwiic_hub/boards/GENERIC_STM32_F303XC/board.h index ec26557f3..0eb20b21a 100644 --- a/keyboards/qwiic_hub/boards/GENERIC_STM32_F303XC/board.h +++ b/keyboards/qwiic_hub/boards/GENERIC_STM32_F303XC/board.h @@ -369,7 +369,7 @@ PIN_MODE_INPUT(GPIOB_PIN5) | \ PIN_MODE_ALTERNATE(GPIOB_PIN6) | \ PIN_MODE_OUTPUT(GPIOB_PIN7) | \ - PIN_MODE_INPUT(GPIOB_PIN8) | \ + PIN_MODE_OUTPUT(GPIOB_PIN8) | \ PIN_MODE_INPUT(GPIOB_PIN9) | \ PIN_MODE_INPUT(GPIOB_PIN10) | \ PIN_MODE_INPUT(GPIOB_PIN11) | \ @@ -401,7 +401,7 @@ PIN_OSPEED_VERYLOW(GPIOB_PIN5) | \ PIN_OSPEED_HIGH(GPIOB_PIN6) | \ PIN_OSPEED_VERYLOW(GPIOB_PIN7) | \ - PIN_OSPEED_VERYLOW(GPIOB_PIN8) | \ + PIN_OSPEED_HIGH(GPIOB_PIN8) | \ PIN_OSPEED_VERYLOW(GPIOB_PIN9) | \ PIN_OSPEED_VERYLOW(GPIOB_PIN10) | \ PIN_OSPEED_VERYLOW(GPIOB_PIN11) | \ @@ -417,7 +417,7 @@ PIN_PUPDR_PULLUP(GPIOB_PIN5) | \ PIN_PUPDR_FLOATING(GPIOB_PIN6) | \ PIN_PUPDR_PULLDOWN(GPIOB_PIN7) | \ - PIN_PUPDR_PULLUP(GPIOB_PIN8) | \ + PIN_PUPDR_FLOATING(GPIOB_PIN8) | \ PIN_PUPDR_PULLUP(GPIOB_PIN9) | \ PIN_PUPDR_PULLUP(GPIOB_PIN10) | \ PIN_PUPDR_PULLUP(GPIOB_PIN11) | \ diff --git a/keyboards/qwiic_hub/qwiic_hub.c b/keyboards/qwiic_hub/qwiic_hub.c index 8d4b434de..0088288b9 100644 --- a/keyboards/qwiic_hub/qwiic_hub.c +++ b/keyboards/qwiic_hub/qwiic_hub.c @@ -19,7 +19,7 @@ uint32_t *o_fb; void matrix_init_kb(void) { - ledDriverInit(1, GPIOB, (1UL<<8), &o_fb); + ledDriverInit(1, GPIOB, (1<<8), &o_fb); testPatternFB(o_fb); matrix_init_user();