mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
MCP1515: Eliminate some warnings
This commit is contained in:
@@ -61,6 +61,9 @@
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
/* Type of the MCP2515 interrupt handling callback */
|
||||
|
||||
struct mcp2515_config_s; /* Forward reference */
|
||||
typedef void (*mcp2515_handler_t)(FAR struct mcp2515_config_s *config,
|
||||
FAR void *arg);
|
||||
|
||||
@@ -104,8 +107,7 @@ struct mcp2515_config_s
|
||||
mcp2515_handler_t handler, FAR void *arg);
|
||||
};
|
||||
|
||||
|
||||
typedef FAR void *MCP2515_HANDLE;
|
||||
/* Internal representation of the MCP2515 state data */
|
||||
|
||||
struct mcp2515_can_s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user