1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

Misc cleanup related to compilation complaints.

This commit is contained in:
James Snyder 2009-08-20 02:56:20 +00:00
parent daae004a21
commit 30db221ff4
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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 );