diff --git a/app/modules/adc.c b/app/modules/adc.c index 799d7e72..f65e6c54 100644 --- a/app/modules/adc.c +++ b/app/modules/adc.c @@ -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;