Add needed platform defined gaurds to compile with Arduino IDE
Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
This commit is contained in:
committed by
Scott Lahteine
parent
a037ddbf7b
commit
b908e38d08
@ -16,6 +16,8 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifdef TARGET_LPC1768
|
||||
|
||||
#include "../../../macros.h"
|
||||
#include "../HAL.h"
|
||||
#include "arduino.h"
|
||||
@ -222,3 +224,5 @@ return; //silences warning
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // TARGET_LPC1768
|
||||
|
Reference in New Issue
Block a user