command_parser: rm outdated TODO note

This commit is contained in:
Astro 2019-09-17 01:38:12 +02:00
parent 4587406d44
commit a7ee2107ea

View File

@ -173,7 +173,6 @@ fn pid_parameter(input: &[u8]) -> IResult<&[u8], Result<Command, Error>> {
value(PidParameter::IntegralMax, tag("integral_max"))
))(input)?;
let (input, _) = whitespace(input)?;
// TODO: parse float
let (input, value) = float(input)?;
let result = value
.map(|value| Command::Pid { parameter, value })