From b6c1ff6cfdfe0f4ce602fe83e54c3112a1c95690 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 29 Mar 2025 10:04:16 +0100 Subject: Optimize genptable for coordinate solve (20x speedup) --- shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/shell.c') diff --git a/shell/shell.c b/shell/shell.c index 1b66f19..4b354c6 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -641,7 +641,7 @@ parse_uint(const char *argv, unsigned *result) static uint8_t parse_nisstype(const char *arg) { - if (!strcmp("normal", arg)) + if (!strcmp("normal", arg) || !strcmp("", arg)) return NISSY_NISSFLAG_NORMAL; if (!strcmp("inverse", arg)) -- cgit v1.3