And also check for the correct variable in the parameter handler.

This commit is contained in:
OBattler
2026-02-28 21:46:04 +01:00
parent 7688903e60
commit 6c5c8c2be1

View File

@@ -1652,7 +1652,7 @@ write_cmd_data_chips(void *priv, uint8_t val)
atkbc_t *dev = (atkbc_t *) priv;
uint8_t ret = 1;
switch (val) {
switch (dev->command) {
default:
break;