You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the Arduino core for your particular board defines a global max macro, which is bad practice because it gives rise to name collisions.
The solution is to #undef max, or use a different name for the variable in the file you mentioned.
I don't have my laptop with me, so I can't test it right now.
src/MIDI_Inputs/MCU/VU.hpp:14:31: error: macro "max" requires 2 arguments, but only 1 given
IVU(uint8_t max) : max(max) {}
https://github.com/tttapa/Control-Surface/blob/master/src/MIDI_Inputs/MCU/VU.hpp#L14
I can't get what this code does, and can't fix it myself. Can you fix?
The text was updated successfully, but these errors were encountered: