[ground_detect] compile warnings
[detect_ground] enable switch