Skip to content

Commit 309d6e5

Browse files
committed
Update siwisdk header files
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 82bfff4 commit 309d6e5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cores/siwigsm/siwisdk/include/command.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ typedef struct {
8181
const char *cmd; /**< Name of command */
8282
int min_arg; /**< Minimum arguments */
8383
int max_arg; /**< Maximum arguments */
84+
cmd_handler_f cmdfn;/**< Command handler function */
8485
const char *help; /**< Short help message */
8586
const char *usage; /**< Long help message with usage */
8687
int type; /**< Command type flags command_type_e */
@@ -91,7 +92,7 @@ typedef struct {
9192
* @param _name Name of command
9293
* @param _minarg Minimum number of arguments including command (must be >= 1)
9394
* @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
9596
* @param _help Short help message
9697
* @param _usage Long help message and usage detail
9798
* @param _type Command type flag see command_type_e

cores/siwigsm/siwisdk/include/gpslib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ struct gpsdata_t {
9595
*/
9696
struct gpsconfig_t {
9797
int type; /**< GPS type @ref gpstype_e, For In-built GPS use @ref GPS_TYPE_MTK */
98+
int baud; /**< GPS Baudrate */
9899
float speedlimit; /**< Over-speed limit in Km/h */
99100
float harshturn; /**< Harsh Turning speed limit in Km/h */
100101
float harshbrk; /**< Harsh breaking limit in g (m/s2) */

cores/siwigsm/siwisdk/include/hw/spi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extern "C" {
5757

5858
/**
5959
* 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
6161
* select is used and hardware controls chip
6262
* select status, FALSE otherwise
6363
* @return 0 on success, negative on error

0 commit comments

Comments
 (0)