Added missing const specifier to ecrt_read_real() / ecrt_read_lreal().

This commit is contained in:
Florian Pose
2021-08-24 17:00:52 +02:00
parent 5031834fde
commit e6f11d9da0
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2213,7 +2213,7 @@ void ecrt_reg_request_read(
* \param data EtherCAT data pointer
* \return EtherCAT data value
*/
float ecrt_read_real(void *data);
float ecrt_read_real(const void *data);
/** Read a 32-bit floating-point value from EtherCAT data.
*
@@ -2227,7 +2227,7 @@ float ecrt_read_real(void *data);
* \param data EtherCAT data pointer
* \return EtherCAT data value
*/
double ecrt_read_lreal(void *data);
double ecrt_read_lreal(const void *data);
/** Read a 64-bit floating-point value from EtherCAT data.
*