• Käppler's avatar
    co2_sensor: cleanup handling for special states · 295800aa
    Käppler authored
    Previously, the control flow was determined by a mixture of
    `if-else`-constructes and premature `return` statements,
    which made it hard to understand which case occurs when.
    295800aa