monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
633 stars 147 forks source link

midi_device:reconnect bad argument error #561

Closed markwheeler closed 6 years ago

markwheeler commented 6 years ago

What's the correct usage of midi_device:reconnect(value) ?

I seem to get errors whenever I'm trying to use this tied to a param callback with value 1 to 4. Not sure if I'm just using it wrong or if it's a bug in midi.lua. I see:

lua: /home/we/norns/lua/midi.lua:108: bad argument #1 to 'remove' (position out of bounds)

tehn commented 6 years ago

will check this out!