fix gpio set (#305)

This commit is contained in:
coreglitch 2021-01-13 03:24:57 +06:00 committed by GitHub
parent 9ed8bebba1
commit 34ac4f0d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,8 @@ typedef struct {
const GpioItem GPIO_PINS[] = {
{"1.2: PA7", {GPIOA, GPIO_PIN_7}},
{"1.3: PA6", {GPIOA, GPIO_PIN_6}},
{"1.4: PA5", {GPIOA, GPIO_PIN_5}},
{"1.5: PA4", {GPIOA, GPIO_PIN_4}},
{"1.4: PA4", {GPIOA, GPIO_PIN_4}},
{"1.5: PB3", {GPIOB, GPIO_PIN_3}},
{"1.6: PB2", {GPIOB, GPIO_PIN_2}},
{"1.7: PC3", {GPIOC, GPIO_PIN_3}},