diff --git a/sys/dev/musycc/musycc.c b/sys/dev/musycc/musycc.c index e0f92e102b5b..d9d4b37588d1 100644 --- a/sys/dev/musycc/musycc.c +++ b/sys/dev/musycc/musycc.c @@ -803,7 +803,7 @@ musycc_intr0(void *arg) case 0: if (er == 13) { /* SHT */ sc->chan[ch]->last_rxerr = time_second; - sc->chan[i]->short_error++; + sc->chan[ch]->short_error++; break; } default: