From 64706680c262155184a01f178a13fecd4ca3be79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 24 Mar 2021 17:04:04 +0100 Subject: [PATCH] application: minor, fix typo --- application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.c b/application.c index 69e3aa4..4b2bda5 100644 --- a/application.c +++ b/application.c @@ -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