more things to tryy
This commit is contained in:
parent
309bb38c7e
commit
516ba9eb80
@ -369,7 +369,7 @@
|
|||||||
PIN_MODE_INPUT(GPIOB_PIN5) | \
|
PIN_MODE_INPUT(GPIOB_PIN5) | \
|
||||||
PIN_MODE_ALTERNATE(GPIOB_PIN6) | \
|
PIN_MODE_ALTERNATE(GPIOB_PIN6) | \
|
||||||
PIN_MODE_OUTPUT(GPIOB_PIN7) | \
|
PIN_MODE_OUTPUT(GPIOB_PIN7) | \
|
||||||
PIN_MODE_INPUT(GPIOB_PIN8) | \
|
PIN_MODE_OUTPUT(GPIOB_PIN8) | \
|
||||||
PIN_MODE_INPUT(GPIOB_PIN9) | \
|
PIN_MODE_INPUT(GPIOB_PIN9) | \
|
||||||
PIN_MODE_INPUT(GPIOB_PIN10) | \
|
PIN_MODE_INPUT(GPIOB_PIN10) | \
|
||||||
PIN_MODE_INPUT(GPIOB_PIN11) | \
|
PIN_MODE_INPUT(GPIOB_PIN11) | \
|
||||||
@ -401,7 +401,7 @@
|
|||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN5) | \
|
PIN_OSPEED_VERYLOW(GPIOB_PIN5) | \
|
||||||
PIN_OSPEED_HIGH(GPIOB_PIN6) | \
|
PIN_OSPEED_HIGH(GPIOB_PIN6) | \
|
||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN7) | \
|
PIN_OSPEED_VERYLOW(GPIOB_PIN7) | \
|
||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN8) | \
|
PIN_OSPEED_HIGH(GPIOB_PIN8) | \
|
||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN9) | \
|
PIN_OSPEED_VERYLOW(GPIOB_PIN9) | \
|
||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN10) | \
|
PIN_OSPEED_VERYLOW(GPIOB_PIN10) | \
|
||||||
PIN_OSPEED_VERYLOW(GPIOB_PIN11) | \
|
PIN_OSPEED_VERYLOW(GPIOB_PIN11) | \
|
||||||
@ -417,7 +417,7 @@
|
|||||||
PIN_PUPDR_PULLUP(GPIOB_PIN5) | \
|
PIN_PUPDR_PULLUP(GPIOB_PIN5) | \
|
||||||
PIN_PUPDR_FLOATING(GPIOB_PIN6) | \
|
PIN_PUPDR_FLOATING(GPIOB_PIN6) | \
|
||||||
PIN_PUPDR_PULLDOWN(GPIOB_PIN7) | \
|
PIN_PUPDR_PULLDOWN(GPIOB_PIN7) | \
|
||||||
PIN_PUPDR_PULLUP(GPIOB_PIN8) | \
|
PIN_PUPDR_FLOATING(GPIOB_PIN8) | \
|
||||||
PIN_PUPDR_PULLUP(GPIOB_PIN9) | \
|
PIN_PUPDR_PULLUP(GPIOB_PIN9) | \
|
||||||
PIN_PUPDR_PULLUP(GPIOB_PIN10) | \
|
PIN_PUPDR_PULLUP(GPIOB_PIN10) | \
|
||||||
PIN_PUPDR_PULLUP(GPIOB_PIN11) | \
|
PIN_PUPDR_PULLUP(GPIOB_PIN11) | \
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
uint32_t *o_fb;
|
uint32_t *o_fb;
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
ledDriverInit(1, GPIOB, (1UL<<8), &o_fb);
|
ledDriverInit(1, GPIOB, (1<<8), &o_fb);
|
||||||
testPatternFB(o_fb);
|
testPatternFB(o_fb);
|
||||||
|
|
||||||
matrix_init_user();
|
matrix_init_user();
|
||||||
|
Loading…
Reference in New Issue
Block a user