summaryrefslogtreecommitdiff
path: root/mesecons_microcontroller
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_microcontroller')
-rw-r--r--mesecons_microcontroller/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua
index 24434b8..f531853 100644
--- a/mesecons_microcontroller/init.lua
+++ b/mesecons_microcontroller/init.lua
@@ -142,9 +142,9 @@ function update_yc(pos)
code = string.gsub(code, " ", "") --Remove all spaces
code = string.gsub(code, " ", "") --Remove all tabs
if yc_parsecode(code, pos) == nil then
- meta:set_string("infotext", "Code not valid!")
+ meta:set_string("infotext", "Code not valid!\n"..code)
else
- meta:set_string("infotext", "Working Microcontroller")
+ meta:set_string("infotext", "Working Microcontroller\n"..code)
end
end