From 30db221ff4a33716d0c0b84b14144d04e61a35d3 Mon Sep 17 00:00:00 2001 From: James Snyder Date: Thu, 20 Aug 2009 02:56:20 +0000 Subject: [PATCH] Misc cleanup related to compilation complaints. --- src/main.c | 2 ++ src/modules/adc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 146fb6b3..7c87b922 100644 --- a/src/main.c +++ b/src/main.c @@ -9,6 +9,8 @@ #include "xmodem.h" #include "shell.h" #include "lua.h" +#include "lauxlib.h" +#include "lualib.h" #include "term.h" #include "platform_conf.h" #ifdef ELUA_SIMULATOR diff --git a/src/modules/adc.c b/src/modules/adc.c index 10458cf3..2120f921 100644 --- a/src/modules/adc.c +++ b/src/modules/adc.c @@ -193,7 +193,7 @@ static int adc_getsamples( lua_State* L ) static int adc_insertsamples( lua_State* L ) { unsigned id, i, startidx; - u16 bcnt, count, zcount; + u16 bcnt, count; id = luaL_checkinteger( L, 1 ); MOD_CHECK_ID( adc, id );