mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-09-15 02:52:53 +00:00
Modified mcp2518fd can def and dfs .h file
This commit is contained in:
@@ -51,6 +51,7 @@ DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
|
||||
// DOM-IGNORE-BEGIN
|
||||
#ifdef __cplusplus // Provide C++ Compatibility
|
||||
extern "C" {
|
||||
|
||||
+4
-1
@@ -45,7 +45,7 @@ DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
|
||||
// *****************************************************************************
|
||||
// Section: Included Files
|
||||
|
||||
#include "drv_canfdspi_defines.h"
|
||||
#include "mcp2518fd_can_def.h"
|
||||
|
||||
// DOM-IGNORE-BEGIN
|
||||
#ifdef __cplusplus // Provide C++ Compatibility
|
||||
@@ -796,4 +796,7 @@ static const uint32_t mcp25xxfdControlResetValues[] = {
|
||||
#endif
|
||||
|
||||
|
||||
#define MCP2518fd_SELECT() digitalWrite(SPICS, LOW)
|
||||
#define MCP2518fd_UNSELECT() digitalWrite(SPICS, HIGH)
|
||||
|
||||
#endif // _DRV_CANFDSPI_REGISTER_H
|
||||
|
||||
Reference in New Issue
Block a user