diff --git a/inc/Message.hpp b/inc/Message.hpp index 6e2ec8f21488bdac198422c921cc309fd18e3bd5..ac1509f9ea39dc2c8d330e0ebd4bcc34978c382a 100644 --- a/inc/Message.hpp +++ b/inc/Message.hpp @@ -30,11 +30,6 @@ public: * @return A boolean value indicating whether the messages are of the same type */ static bool isSameType(const Message &msg1, const Message &msg2) { - for (uint16_t i = 0; i < ECSS_MAX_MESSAGE_SIZE; i++) { - if (msg1.data[i] != msg2.data[i]) { - return false; - } - } return (msg1.packetType == msg2.packetType) && (msg1.messageType == msg2.messageType) && (msg1.serviceType == msg2.serviceType); }