removed unused toRadians() function so firmware compiles (-Wall enabled)