/* Check if any values in buffer were set after expected samples.  */
static void check_empty_samples(int expected_count)
/* Check if any values in buffer were set after expected samples.  */
static void check_empty_samples(int expected_count)
{
	int i;
	for (i = expected_count; i < BUFFER_SIZE; i++) {
		zassert_equal(INVALID_ADC_VALUE, m_sample_buffer[i],
			      "[%u] should be empty", i);
	}
}