master^2
Varun 9 months ago
parent 9e461225ff
commit 167d04aabb

@ -4950,6 +4950,7 @@ client.on('message', async (topic, message) => {
return;
}
// Find the inputConnection for the motor and update motor status
const inputConnection = motorTank.connections.inputConnections.find(conn => conn.motor_id === hw_Id); // Updated variable name
if (inputConnection) {

Loading…
Cancel
Save