Skip to content

Commit

Permalink
Bugfix for /JB
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Dec 8, 2023
1 parent c4dfc7c commit 4c7c0c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6159,7 +6159,7 @@ void loop() {
do{
int i_line = findLine(j, 0, &cmd);
if (i_line < 0 || (cmd == CMD_UNKNOWN && json_parameter < BSP_INTERNAL)) {//CMD_UNKNOWN except virtual programs
continue;
goto next_parameter;
}
loadPrognrElementsFromTable(j, i_line);
if (decodedTelegram.readwrite == FL_WRITEABLE) {//Do not save "read only" or "write only" parameters
Expand All @@ -6169,6 +6169,7 @@ void loop() {
printFmtToWebClient(PSTR(" \"%g\":{\"parameter\":\"%g\", \"value\":\"%s\", \"type\":\"%d\"}"), j, j, decodedTelegram.value, 1);
}
}
next_parameter:
j = get_next_prognr(j, i_line);
}while(j >= cat_min && j <= cat_max);
}
Expand Down

0 comments on commit 4c7c0c4

Please sign in to comment.