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
ERROR:
src/rc_battery_monitor.c:178:20: warning: using integer absolute value function ‘abs’ when argument is of floating-point type ‘double’ [-Wabsolute-value]
178 | if(abs(new_v_jack-v_jack)>2){
SOL:
should be typecasted to int first.
The text was updated successfully, but these errors were encountered:
ERROR:
src/rc_battery_monitor.c:178:20: warning: using integer absolute value function ‘abs’ when argument is of floating-point type ‘double’ [-Wabsolute-value]
178 | if(abs(new_v_jack-v_jack)>2){
SOL:
should be typecasted to int first.
The text was updated successfully, but these errors were encountered: