Skip to content

Commit 42f80de

Browse files
committed
Now compatible with Old Arduinos and ChipKit32
1 parent 6d23a92 commit 42f80de

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Thread.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
#ifndef Thread_h
1515
#define Thread_h
1616

17-
#include <Arduino.h>
17+
#if defined(ARDUINO) && ARDUINO >= 100
18+
#include <Arduino.h>
19+
#else
20+
#include <WProgram.h>
21+
#endif
22+
1823
#include <inttypes.h>
1924

2025
/*

0 commit comments

Comments
 (0)