Firmware
|
Helper methods for command-line parameters. More...
Go to the source code of this file.
Functions | |
int | px4_get_parameter_value (const char *option, int &value) |
Parse a CLI argument to an integer. More... | |
Helper methods for command-line parameters.
int px4_get_parameter_value | ( | const char * | option, |
int & | value | ||
) |
Parse a CLI argument to an integer.
There are 2 valid formats:
option | CLI argument |
value | returned value |