Fix a bug with sizing two arrays involving writeing ADC messages.