Workaround to handle %n in sscanf

A %n was ignored in sscanf, so the multicopter mixer wasn't parsed correctly.
This is happening because
    while (*fmt && *buf)
stopped when the buffer is empty but *fmt still contains the %n

Please check, if the fix makes sense.

Thanks go to Richard who travelled all the way from Zurich to San Diego just to help me!