Skip to content

Commit 9c8e3ca

Browse files
authored
Merge pull request #256 from gkostov/patch-1
Moved the header include below "Arduino.h"
2 parents cecba89 + e949922 commit 9c8e3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DallasTemperature.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// License as published by the Free Software Foundation; either
44
// version 2.1 of the License, or (at your option) any later version.
55

6-
#include "DallasTemperature.h"
7-
86
// for Particle support
97
// yield() is not a standard function, but instead wraps Particle process
108
// https://community.particle.io/t/syscall-yield-operation/40708/2
@@ -20,6 +18,8 @@ extern "C" {
2018
}
2119
#endif
2220

21+
#include "DallasTemperature.h"
22+
2323
// OneWire commands
2424
#define STARTCONVO 0x44 // Tells device to take a temperature reading and put it on the scratchpad
2525
#define COPYSCRATCH 0x48 // Copy scratchpad to EEPROM

0 commit comments

Comments
 (0)