Bug fix: GxTuner not working.

This commit is contained in:
Robin Davies
2024-10-12 22:09:21 -04:00
parent bd7cdeba22
commit fec62960ad
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
"request": "launch", "request": "launch",
// Resolved by CMake Tools: // Resolved by CMake Tools:
"program": "${command:cmake.launchTargetPath}", "program": "${command:cmake.launchTargetPath}",
"args": [ "/etc/pipedal/config", "/etc/pipedal/react", "-port", "0.0.0.0:8080" ], "args": [ "/etc/pipedal/config", "/etc/pipedal/react", "-port", "0.0.0.0:8080", "-log-level","debug" ],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"environment": [ "environment": [
+2 -1
View File
@@ -176,7 +176,8 @@ const GxTunerControl =
{ {
midiNote = value; midiNote = value;
} else { } else {
if (value < 65) hz = value;
if (hz < 65)
{ {
hz = -1; hz = -1;
midiNote = -1; midiNote = -1;