Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'union _local' has no member named 'stepSequencer' #10

Open
Andrjazz opened this issue Sep 23, 2022 · 1 comment
Open

error: 'union _local' has no member named 'stepSequencer' #10

Andrjazz opened this issue Sep 23, 2022 · 1 comment

Comments

@Andrjazz
Copy link

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
Hello!
I'm trying to upload a sketch Arpeggiator in my Arduino Uno

I set in All.h
#if defined(UNO)
// You can pick ONE of these
#define INCLUDE_ARPEGGIATOR
//#define INCLUDE_STEP_SEQUENCER

byt I have error

sketch\Arpeggiator.cpp: In function 'void stateArpeggiatorPlay()':
Arpeggiator.cpp:653:15: error: 'union _local' has no member named 'stepSequencer'
local.stepSequencer.pots[LEFT_POT] = pot[LEFT_POT];
^~~~~~~~~~~~~
Arpeggiator.cpp:654:15: error: 'union _local' has no member named 'stepSequencer'
local.stepSequencer.pots[RIGHT_POT] = pot[RIGHT_POT];
^~~~~~~~~~~~~
Arpeggiator.cpp:791:32: error: 'union _local' has no member named 'stepSequencer'
if (potChangedBy(local.stepSequencer.pots, LEFT_POT, BIG_POT_UPDATE))
^~~~~~~~~~~~~
Arpeggiator.cpp:799:32: error: 'union _local' has no member named 'stepSequencer'
if (potChangedBy(local.stepSequencer.pots, RIGHT_POT, BIG_POT_UPDATE))
^~~~~~~~~~~~~
exit status 1
'union _local' has no member named 'stepSequencer'

what am I doing wrong? Help please

@eclab
Copy link
Owner

eclab commented Sep 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants