aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jalv_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c
index 70fe5aa..d012012 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -141,7 +141,7 @@ jalv_process_command(Jalv* jalv, const char* cmd)
{
char sym[64];
float value;
- if (sscanf(cmd, "%[a-zA-Z0-9] = %f", sym, &value) == 2) {
+ if (sscanf(cmd, "%[a-zA-Z0-9_] = %f", sym, &value) == 2) {
struct Port* port = NULL;
for (uint32_t i = 0; i < jalv->num_ports; ++i) {
struct Port* p = &jalv->ports[i];