Skip to content

Commit

Permalink
C++ style: define guard.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Jul 12, 2019
1 parent 9f94353 commit 9bd9639
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Arduino.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __ARDUINO_H__
#define __ARDUINO_H__
#ifndef ARDUINO_SERIAL_FIXTURE_ARDUINO_H_
#define ARDUINO_SERIAL_FIXTURE_ARDUINO_H_

#include <string.h>
#include <string>
Expand Down
5 changes: 2 additions & 3 deletions src/Arduino.tcc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifndef __ARDUINO_TCC__
#define __ARDUINO_TCC__

#ifndef ARDUINO_SERIAL_FIXTURE_ARDUINO_TCC_
#define ARDUINO_SERIAL_FIXTURE_ARDUINO_TCC_

/**
* Read from serial.
Expand Down
5 changes: 5 additions & 0 deletions src/avr/pgmspace.h
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#ifndef ARDUINO_SERIAL_FIXTURE_AVR_PGMSPACE_H_
#define ARDUINO_SERIAL_FIXTURE_AVR_PGMSPACE_H_

#define __FlashStringHelper char

#endif

0 comments on commit 9bd9639

Please sign in to comment.