SITL: map() is a C++ function, so needs to be in C++ part of the header

this fixes the ACM build
This commit is contained in:
Andrew Tridgell 2012-06-08 17:09:23 +10:00
parent 9adaacedcd
commit f347572fc2
1 changed files with 1 additions and 2 deletions

View File

@ -113,8 +113,6 @@ int analogRead(uint8_t);
void analogReference(uint8_t mode);
void analogWrite(uint8_t, int);
long map(long , long , long , long , long );
unsigned long millis(void);
unsigned long micros(void);
void delay(unsigned long);
@ -133,5 +131,6 @@ void detachInterrupt(uint8_t);
void setup(void);
void loop(void);
long map(long , long , long , long , long );
#endif