Skip to content

Support the use of volatile #59

Description

@seba-eng

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature RequestThis issue is a request for a particular featureMinorThis change is a minor addition

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions