Skip to content

Commit

Permalink
Move decl of pulseInLong to the C++ section [...]
Browse files Browse the repository at this point in the history
[...] of Arduino.h since it's implemented in C++.

CL: none

PUBLISHED_FROM=2687f4f16d3a54b9979e4c1651a6cb86d8cc41be
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Jan 31, 2018
1 parent fb2f5df commit fd45d35
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions include/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ void detachInterrupt(uint8_t pin);
void interrupts(void);
void noInterrupts(void);

unsigned long pulseInLong(uint8_t pin, uint8_t state,
unsigned long timeout = 1000000L);

void setup(void);
void loop(void);

Expand All @@ -158,7 +155,12 @@ void loop(void);
} // extern "C"
#endif

#ifdef TODO
#ifdef __cplusplus
unsigned long pulseInLong(uint8_t pin, uint8_t state,
unsigned long timeout = 1000000L);
#endif

#if 0 /* TODO */

#ifdef __cplusplus

Expand Down

0 comments on commit fd45d35

Please sign in to comment.