Sungwoo Kim
/
HydraulicControlBoard_PostLIGHT_Original
Original Version of STM Board
Diff: function_utilities/function_utilities.h
- Revision:
- 30:8d561f16383b
- Parent:
- 19:23b7c1ad8683
- Child:
- 224:985dba42f261
diff -r 69f3f5445d6d -r 8d561f16383b function_utilities/function_utilities.h --- a/function_utilities/function_utilities.h Wed Oct 02 04:41:59 2019 +0000 +++ b/function_utilities/function_utilities.h Fri Oct 04 11:58:18 2019 +0000 @@ -20,8 +20,8 @@ #define FLASH_Latency_5 ((uint8_t)0x0005) /*!< FLASH Five Latency cycles */ #define FLASH_Latency_6 ((uint8_t)0x0006) /*!< FLASH Six Latency cycles */ -double dabs(double tx); -double change_int_to_efloat(int input); +float dabs(float tx); +float change_int_to_efloat(int input); void make_delay(void); void ROM_RESET_DATA(void); @@ -31,6 +31,6 @@ void ENC_SET_ZERO(void); void ENC_SET(int32_t value); void VALVE_POSITION_INIT(void); -void VALVE_PWM(int pwm, double vol_max, double vol_in); +void VALVE_PWM(int pwm, float vol_max, float vol_in); -#endif \ No newline at end of file +#endif