diff --git a/SConstruct b/SConstruct index 8810e0b4..245887c3 100644 --- a/SConstruct +++ b/SConstruct @@ -67,8 +67,9 @@ board_list = { 'SAM7-EX256' : [ 'AT91SAM7X256', 'AT91SAM7X512' ], } # ROMFS file list "groups" -# To include a file in a ROMFS build, include it in a group here and make -# sure the group is listed on your platform "groups list" right below. +# To include a file in a ROMFS build, include it in a group here (or create one +# if you need) and make sure the group is included on your platform's file_list +# definition (right after this). romfs = { 'bisect' : [ 'bisect.lua' ], 'hangman' : [ 'hangman.lua' ], 'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ], diff --git a/src/platform/lm3s/disp.c b/src/platform/lm3s/disp.c index 5c911efd..e4fa4537 100644 --- a/src/platform/lm3s/disp.c +++ b/src/platform/lm3s/disp.c @@ -1,4 +1,6 @@ -// Module for interfacing with Lua DISP code +// eLua Module for LM3S RIT OLED Display Support +// disp is a platform-dependent (LM3S) module, that binds to Lua the basic API +// from Luminary Micro #include "lua.h" #include "lualib.h" @@ -97,8 +99,8 @@ const LUA_REG_TYPE disp_map[] = { LSTRKEY( "on" ), LFUNCVAL( disp_on ) }, { LSTRKEY( "off" ), LFUNCVAL( disp_off ) }, { LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) }, - { LSTRKEY( "stringdraw" ), LFUNCVAL( disp_stringDraw ) }, - { LSTRKEY( "imagedraw" ), LFUNCVAL( disp_imageDraw ) }, + { LSTRKEY( "print" ), LFUNCVAL( disp_stringDraw ) }, + { LSTRKEY( "draw" ), LFUNCVAL( disp_imageDraw ) }, { LNILKEY, LNILVAL } };