mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 17:59:53 +03:00
update to eModbus 1.7.4
This commit is contained in:
@@ -47,6 +47,8 @@ CoilData::~CoilData() {
|
||||
|
||||
// Assignment operator
|
||||
CoilData& CoilData::operator=(const CoilData& m) {
|
||||
// Avoid self-assignment
|
||||
if (this == &m) return *this;
|
||||
// Remove old data
|
||||
if (CDbuffer) {
|
||||
delete CDbuffer;
|
||||
|
||||
Reference in New Issue
Block a user