SmartArduino / WiFiMCU

WiFiCMU-v0.9.8-pre release
https://github.com/SmartArduino/WiFiMCU
123 stars 65 forks source link

spi.setup: attempt to index a number value #11

Open yorickvP opened 8 years ago

yorickvP commented 8 years ago

https://github.com/SmartArduino/WiFiMCU/blob/master/lua/exlibs/spi.c#L55 (and further) have lua_getfield(L, 1, "sck");, I think it should be 4 instead of 1.