application: minor, fix typo
This commit is contained in:
parent
eb4946e7ad
commit
64706680c2
|
@ -270,7 +270,7 @@ static void command_target_reset(void* argument)
|
|||
} else if (0 == strcmp("ODL", argument)) { // set reset to open-drain active low
|
||||
active_low = true; // remember we are active low
|
||||
gpio_set_output_options(GPIO_PORT(TARGET_RST_PIN), GPIO_OTYPE_OD, GPIO_OSPEED_2MHZ, GPIO_PIN(TARGET_RST_PIN)); // set output as open-drain
|
||||
} else if (0 == strcmp("ODH", argument)) { // set reset to open-drain active hig
|
||||
} else if (0 == strcmp("ODH", argument)) { // set reset to open-drain active high
|
||||
active_low = false; // remember we are active high
|
||||
gpio_set_output_options(GPIO_PORT(TARGET_RST_PIN), GPIO_OTYPE_OD, GPIO_OSPEED_2MHZ, GPIO_PIN(TARGET_RST_PIN)); // set output as open-drain
|
||||
} else if (0 == strcmp("PPL", argument)) { // set reset to push-pull active low
|
||||
|
|
Loading…
Reference in New Issue