Merge pull request #692 from Aeprox/dev

Fix adc.readvdd33
This commit is contained in:
Vowstar 2015-10-17 21:55:06 +08:00
commit 8c419b8a3b

View File

@ -34,12 +34,12 @@ static int adc_readvdd33( lua_State* L )
}
else
{
vdd33 = readvdd33();
vdd33 = system_get_vdd33();
}
}
else
{
vdd33 = readvdd33();
vdd33 = system_get_vdd33();
}
lua_pushinteger(L, vdd33);
return 1;