ChrisKelly
Member
Hi folks
I recently added Jonathan Oakley's effect_expenvelope .cpp and .h files to the Audio Library.
I'm trying to compile using Arduini 1.8.19 and Teensyduino 1.56 and the compiler flags errors with this code from the header file:-
The compiler flags:-
- a missing " character (at the term asm)
-and ')' expected before '=' token (at the "=r" term)
Are these a result of using an older version of Arduino IDE and Teensyduino?
Thanks
Chris
I recently added Jonathan Oakley's effect_expenvelope .cpp and .h files to the Audio Library.
I'm trying to compile using Arduini 1.8.19 and Teensyduino 1.56 and the compiler flags errors with this code from the header file:-
Code:
asm volatile("usat %0, %1, %2, asr %3" : "=r" (out) : "I" (bits), "r" (val), "I" (rshift));
The compiler flags:-
- a missing " character (at the term asm)
-and ')' expected before '=' token (at the "=r" term)
Are these a result of using an older version of Arduino IDE and Teensyduino?
Thanks
Chris