I7000: Fixed potential memory access error.

This commit is contained in:
Richard Cornwell 2020-04-17 18:20:27 -07:00 committed by Mark Pizzolato
parent 3f55005d21
commit cabd3784bc

View file

@ -138,7 +138,7 @@ extern uint8 chan_io_status[NUM_CHAN]; /* Channel status */
#endif #endif
/* Channel level activity */ /* Channel level activity */
uint8 mt_chan[NUM_DEVS]; uint8 mt_chan[NUM_CHAN];
/* One buffer per channel */ /* One buffer per channel */
uint8 mt_buffer[NUM_DEVS][BUFFSIZE]; uint8 mt_buffer[NUM_DEVS][BUFFSIZE];