You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of: Excuse me if I'm wrong I haven't tried the code I just happened to see something strang while looking through the code in the repo.
In Lua-RTOS-ESP32/components/lua_rtos/drivers/adc.c it's written (in a couple of places):
if (!((1 << channel) && CPU_ADC_ALL))
I'm quite sure that that should be written as so:
if (!((1 << channel) & CPU_ADC_ALL))
That is: & instead of &&
The text was updated successfully, but these errors were encountered:
First of: Excuse me if I'm wrong I haven't tried the code I just happened to see something strang while looking through the code in the repo.
In Lua-RTOS-ESP32/components/lua_rtos/drivers/adc.c it's written (in a couple of places):
if (!((1 << channel) && CPU_ADC_ALL))
I'm quite sure that that should be written as so:
if (!((1 << channel) & CPU_ADC_ALL))
That is: & instead of &&
The text was updated successfully, but these errors were encountered: