the keyword volatile doesn't seem to work which makes things like benchmarking quite difficult.
minimal example:
#include <FixedPoints.h>
#include <FixedPointsCommon.h>
void setup() {
volatile SFixed<7, 8> f1, f2, f3;
f3=f1+f2;
}
void loop() {
}
this produces the error:
no match for 'operator+' (operand types are 'volatile SFixed<7u, 8u>' and 'volatile SFixed<7u, 8u>')
Or am I just doing it wrong?
the keyword volatile doesn't seem to work which makes things like benchmarking quite difficult.
minimal example:
#include <FixedPoints.h>#include <FixedPointsCommon.h>void setup() {volatile SFixed<7, 8> f1, f2, f3;f3=f1+f2;}void loop() {}this produces the error:
Or am I just doing it wrong?