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

This commit is contained in:
Florian Pose
2019-01-22 13:48:40 +01:00
parent b6e377ff11
commit 030e7ecbb9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2200,7 +2200,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.
*
@@ -2214,7 +2214,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.
*