Skip to content

Commit 6350f85

Browse files
authored
Issue #3
1 parent 51595a1 commit 6350f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-modbus-rtu-tcp-gateway/04-webserver.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void processPost(char postParameter[]) {
285285
}
286286
case 'a': // processing Tools buttons
287287
{
288-
action = (byte)atoi(strtok_r(NULL, "=", &sav2));
288+
action = (action_type)atoi(strtok_r(NULL, "=", &sav2));
289289
break;
290290
default:
291291
break;

0 commit comments

Comments
 (0)