Fix compilation error with recent newlib/gcc versions because of random()teensy4-core
| seed = newseed; | seed = newseed; | ||||
| } | } | ||||
| uint32_t random(void) | |||||
| int32_t random(void) | |||||
| { | { | ||||
| int32_t hi, lo, x; | int32_t hi, lo, x; | ||||
| void noTone(uint8_t pin); | void noTone(uint8_t pin); | ||||
| // WMath prototypes | // WMath prototypes | ||||
| uint32_t random(void); | |||||
| int32_t random(void); | |||||
| uint32_t random(uint32_t howbig); | uint32_t random(uint32_t howbig); | ||||
| int32_t random(int32_t howsmall, int32_t howbig); | int32_t random(int32_t howsmall, int32_t howbig); | ||||
| void randomSeed(uint32_t newseed); | void randomSeed(uint32_t newseed); |