read and write motor status

master
bhaskar 2 years ago
parent 7477b29eb3
commit bd50f4c8e6

@ -1619,4 +1619,5 @@ exports.writeMotorStatus = async (request, reply) => {
request.log.error(error);
return reply.code(500).send({ error: 'Internal Server Error' });
}
}
}

@ -752,6 +752,8 @@ module.exports = function (fastify, opts, next) {
},
handler: tanksController.readMotorStatus
});
next();
}

Loading…
Cancel
Save