Searched refs:calculated_voltage (Results 1 – 1 of 1) sorted by relevance
58 int32_t calculated_voltage = 0; in test_task_voltage_divider() local67 .buffer = &calculated_voltage, in test_task_voltage_divider()68 .buffer_size = sizeof(calculated_voltage), in test_task_voltage_divider()75 ret = adc_raw_to_millivolts_dt(&adc_node_0.port, &calculated_voltage); in test_task_voltage_divider()78 ret = voltage_divider_scale_dt(&adc_node_0, &calculated_voltage); in test_task_voltage_divider()81 zassert_within(calculated_voltage, input_mv * 2, MV_OUTPUT_EPS, in test_task_voltage_divider()82 "%u != %u should have set value", calculated_voltage, input_mv * 2); in test_task_voltage_divider()