 void slave_write_multiple_registers() {
   unsigned short address = modbus_get_short(2);
   unsigned short count = modbus_get_short(4);
-  unsigned char  bytes = modbus_in_[6];
+  unsigned char  bytes = modbus_in[6];
   unsigned char i;
   unsigned char is_broadcast = modbus_in[0] == 0;
   

#ifdef HAS_COUNTS
  event_count++;
#endif
  if (is_broadcast)
    return;
    
  modbus_out_cnt = 0;
  modbus_out[modbus_out_cnt++] = modbus_unit;

#ifdef HAS_COUNTS
  event_count++;
#endif
  if (is_broadcast) {
#ifdef HAS_DIAGS
    modbus_message_no_response_count++;
#endif
    return;
  }
    
  modbus_out_cnt = 0;
  
