Fixed errors in Lua code.
Break instead of return in ISR.