auto-sync
This commit is contained in:
parent
36ebb931af
commit
eaf28ac977
|
@ -2,6 +2,8 @@
|
||||||
* @file tachometer.cpp
|
* @file tachometer.cpp
|
||||||
* @brief This is about driving external analog tachometers
|
* @brief This is about driving external analog tachometers
|
||||||
*
|
*
|
||||||
|
* todo: these is a bit of duplication with dizzySparkOutputPin
|
||||||
|
*
|
||||||
* @date Aug 18, 2015
|
* @date Aug 18, 2015
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2016
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -43,17 +43,7 @@ int indexOf(const char *string, char ch);
|
||||||
float atoff(const char *string);
|
float atoff(const char *string);
|
||||||
int atoi(const char *string);
|
int atoi(const char *string);
|
||||||
|
|
||||||
/**
|
|
||||||
* there is some BS related to isnan in MinGW, so let's have all the issues in one place
|
|
||||||
* JMT - Screw that, isnan is isnan, if mingw cant make it goes in the naughty bin.
|
|
||||||
* This should probably be guarded by an STM32F4 specific macro as well.
|
|
||||||
*/
|
|
||||||
#ifdef __MINGW32__
|
|
||||||
#define cisnan(f) (*(((int*) (&f))) == 0x7FC00000)
|
#define cisnan(f) (*(((int*) (&f))) == 0x7FC00000)
|
||||||
#else
|
|
||||||
#define cisnan isnan
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define UNUSED(x) (void)(x)
|
#define UNUSED(x) (void)(x)
|
||||||
|
|
||||||
int absI(int32_t value);
|
int absI(int32_t value);
|
||||||
|
|
Loading…
Reference in New Issue