BV HiZ: fix function name for hardware v0
This commit is contained in:
parent
25a458c99d
commit
5ad695c159
|
@ -565,7 +565,7 @@ static bool busvoodoo_hiz_test_pins(bool halt)
|
|||
gpio_set_mode(GPIO(BUSVOODOO_RS485_TX_PORT), GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, GPIO(BUSVOODOO_RS485_TX_PIN)); // set TX as output
|
||||
gpio_clear(GPIO(BUSVOODOO_RS485_TX_PORT), GPIO(BUSVOODOO_RS485_TX_PIN)); // set TX low -> B will be high
|
||||
printf("%sRS/CAN pin 4\n", lv_to);
|
||||
busvoodoo_led_off(); // clear LEDs
|
||||
busvoodoo_leds_off(); // clear LEDs
|
||||
busvoodoo_led_red_on(); // notify user to perform action
|
||||
pinout[6] = "O"; // set target testing pin
|
||||
busvoodoo_oled_text_pinout((const char**)pinout, false); // display pins to user
|
||||
|
@ -653,7 +653,7 @@ static bool busvoodoo_hiz_test_pins(bool halt)
|
|||
gpio_set_mode(GPIO(BUSVOODOO_RS485_TX_PORT), GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, GPIO(BUSVOODOO_RS485_TX_PIN)); // set TX as output
|
||||
gpio_set(GPIO(BUSVOODOO_RS485_TX_PORT), GPIO(BUSVOODOO_RS485_TX_PIN)); // set TX high -> A will be high
|
||||
printf("%sRS/CAN pin 5\n", lv_to);
|
||||
busvoodoo_led_off(); // clear LEDs
|
||||
busvoodoo_leds_off(); // clear LEDs
|
||||
busvoodoo_led_red_on(); // notify user to perform action
|
||||
pinout[8] = "O"; // set target testing pin
|
||||
busvoodoo_oled_text_pinout((const char**)pinout, false); // display pins to user
|
||||
|
|
Loading…
Reference in New Issue