Skip to content

Commit d80460f

Browse files
Removed unused code part SDO
1 parent 2a5d776 commit d80460f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ethercat_interface/include/ethercat_interface/ec_sdo_manager.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ class SdoConfigEntry
5151
EC_WRITE_U64(buffer, static_cast<uint64_t>(data));
5252
} else if (data_type == "int64") {
5353
EC_WRITE_S64(buffer, static_cast<int64_t>(data));
54-
} else if (data_type == "real32" || data_type == "float") {
55-
uint32_t raw = *(uint32_t *)(const void *)&doubledata;
56-
EC_WRITE_U32(buffer, static_cast<uint32_t>(raw));
5754
}
5855
}
5956

0 commit comments

Comments
 (0)