Skip to content

Commit

Permalink
Fix build so they show up as an arduino library
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed Nov 23, 2019
1 parent 2c0c1cd commit f0c313c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions FRC_CAN.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "frc/CAN.h"
#include "frc/mcp2515.h"
#include "frc_CAN.h"
#include "frc_mcp2515.h"

using namespace frc;

Expand Down
4 changes: 2 additions & 2 deletions examples/FRC_CAN_Communication/FRC_CAN_Communication.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "frc/mcp2515.h"
#include "frc/CAN.h"
#include "frc_mcp2515.h"
#include "frc_CAN.h"

// Define the CS pin and the interrupt pin
#define CAN_CS 10
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion frc/mcp2515.h → frc_mcp2515.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _FRC_MCP2515_H_

#include <SPI.h>
#include "frc/can_core.h"
#include "frc_can_core.h"

/*
* Speed 8M
Expand Down
2 changes: 1 addition & 1 deletion mcp2515.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "frc/mcp2515.h"
#include "frc_mcp2515.h"

using namespace frc;

Expand Down

0 comments on commit f0c313c

Please sign in to comment.