core_pb::driving::peripherals

Function handle_err

Source
fn handle_err<T, E: Debug>(
    r: Result<T, E>,
) -> Result<T, String<MAX_SENSOR_ERR_LEN>>
Expand description

Converts Results from sensors into heapless::String Results to be sent to the GUI