Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorあく <alleteam@gmail.com>2021-06-23 19:41:05 +0300
committerGitHub <noreply@github.com>2021-06-23 19:41:05 +0300
commit961d61807c04c0cea73f98d715387424490021e7 (patch)
treedff28eda30f60adaf230207f2f61c2661ae47c24 /applications/cli
parent8116bfcbabb7f218a0eb7c69b301b3fa07bf0ac8 (diff)
[FL-1478] Fix setting PA0 high confirmation dialog #533
Diffstat (limited to 'applications/cli')
-rw-r--r--applications/cli/cli_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/cli/cli_commands.c b/applications/cli/cli_commands.c
index 049e706e..0423ee5b 100644
--- a/applications/cli/cli_commands.c
+++ b/applications/cli/cli_commands.c
@@ -256,7 +256,7 @@ void cli_command_gpio_set(Cli* cli, string_t args, void* context) {
printf(
"Setting PA0 pin HIGH with TSOP connected can damage IR receiver. Are you sure you want to continue? (y/n)?\r\n");
char c = cli_getc(cli);
- if(c != 'y' || c != 'Y') {
+ if(c != 'y' && c != 'Y') {
printf("Cancelled.\r\n");
return;
}