parse_config

Function parse_config 

Source
pub fn parse_config(data: &[u8]) -> Result<RadioConfig, SdCardError>
Expand description

Parses a .d75 configuration file from raw bytes.

ยงErrors

Returns SdCardError::FileTooSmall if the data is shorter than the minimum required size, or SdCardError::InvalidModelString if the header model is not recognised.