File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
cores/siwigsm/siwisdk/include Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ typedef struct {
81
81
const char * cmd ; /**< Name of command */
82
82
int min_arg ; /**< Minimum arguments */
83
83
int max_arg ; /**< Maximum arguments */
84
+ cmd_handler_f cmdfn ;/**< Command handler function */
84
85
const char * help ; /**< Short help message */
85
86
const char * usage ; /**< Long help message with usage */
86
87
int type ; /**< Command type flags command_type_e */
@@ -91,7 +92,7 @@ typedef struct {
91
92
* @param _name Name of command
92
93
* @param _minarg Minimum number of arguments including command (must be >= 1)
93
94
* @param _maxarg Maximum number of arguments including command (must be >= 1 & <= CMD_MAX_ARGS)
94
- * @param _cmd Command function
95
+ * @param _cmd Command handler function
95
96
* @param _help Short help message
96
97
* @param _usage Long help message and usage detail
97
98
* @param _type Command type flag see command_type_e
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ struct gpsdata_t {
95
95
*/
96
96
struct gpsconfig_t {
97
97
int type ; /**< GPS type @ref gpstype_e, For In-built GPS use @ref GPS_TYPE_MTK */
98
+ int baud ; /**< GPS Baudrate */
98
99
float speedlimit ; /**< Over-speed limit in Km/h */
99
100
float harshturn ; /**< Harsh Turning speed limit in Km/h */
100
101
float harshbrk ; /**< Harsh breaking limit in g (m/s2) */
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extern "C" {
57
57
58
58
/**
59
59
* Initialize SPI Hardware and setup pinmux
60
- * @param int hardware_cs [in] Set it TRUE, if application hardware chip
60
+ * @param hardware_cs [in] Set it TRUE, if application hardware chip
61
61
* select is used and hardware controls chip
62
62
* select status, FALSE otherwise
63
63
* @return 0 on success, negative on error
You can’t perform that action at this time.
0 commit comments