Sammy1Am / Moppy2

The evolution of the Musical flOPPY controller
Other
311 stars 51 forks source link

Copile error #142

Open ValhallaMaster opened 2 years ago

ValhallaMaster commented 2 years ago

Hi, I have a problem compiling as it throws me this error C:\Users\Juani xD\Downloads\Moppy2-Arduino\src\MoppyInstruments\EasyDrivers.cpp: In function 'instruments::EasyDrivers::resetAll()': C:\Users\Juani xD\Downloads\Moppy2-Arduino\src\MoppyInstruments\EasyDrivers.cpp:299:27: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] currentState[stepPin] = LOW; C:\Users\Juani xD\Downloads\Moppy2-Arduino\src\MoppyInstruments\EasyDrivers.cpp:297:29: note: within this loop for (byte d=FIRST_DRIVER;d<=LAST_DRIVER;d++) {

Sammy1Am commented 2 years ago

Those are just warnings rather than errors; compilation likely still succeeded and you should be able to upload the code.