beagleboard / beagleboard/librobotcontrol
found error while building
Open
- Dominant language
- C
- Stars
- 212
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.