Skip to content

Commit

Permalink
Fix Arduino header file inclusion (#207)
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Balloffet <[email protected]>
  • Loading branch information
jballoffet authored Jan 31, 2024
1 parent 88eec4c commit 0d894b7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion andino_firmware/src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "app.h"

#include "Arduino.h"
#include <Arduino.h>

#include "commands.h"
#include "constants.h"
#include "encoder.h"
Expand Down
3 changes: 2 additions & 1 deletion andino_firmware/src/encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@

#include <stdint.h>

#include "Arduino.h"
#include <Arduino.h>

#include "pcint.h"

namespace andino {
Expand Down
2 changes: 1 addition & 1 deletion andino_firmware/src/motor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "motor.h"

#include "Arduino.h"
#include <Arduino.h>

namespace andino {

Expand Down
2 changes: 1 addition & 1 deletion andino_firmware/src/pcint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "pcint.h"

#include "Arduino.h"
#include <Arduino.h>

static andino::PCInt::InterruptCallback g_callbacks[3] = {nullptr};

Expand Down
2 changes: 1 addition & 1 deletion andino_firmware/src/pcint.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#include <stdint.h>

#include "Arduino.h"
#include <Arduino.h>

namespace andino {

Expand Down

0 comments on commit 0d894b7

Please sign in to comment.