application: minor, fix typo

This commit is contained in:
King Kévin 2021-03-24 17:04:04 +01:00
parent eb4946e7ad
commit 64706680c2
1 changed files with 1 additions and 1 deletions

View File

@ -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