Commit 8015875c authored by Nicolas Dufresne's avatar Nicolas Dufresne

brewcontrol: Fix missing return statement

This missing return was causing a compilation warning when TEMP2
isn't define.
parent defc3039
......@@ -441,5 +441,7 @@ uint16_t BrewControl::get_last_pulse_count_top()
{
#ifdef TEMP2
return _temp2_sensor.get_last_pulse_count();
#else
return 0;
#endif
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment