Commit e05d78f9 authored by PhiBo's avatar PhiBo 🚀

Fix value type

parent ebad758a
......@@ -46,7 +46,7 @@ uint8_t ArduRPC_SensorNodeRemote::getSensorConfig(uint8_t sensor_id, uint8_t *da
uint16_t ArduRPC_SensorNodeRemote::getSensorType(uint8_t sensor_id)
{
uint8_t value;
uint16_t value;
this->_rpc->reset();
this->_rpc->writeRequest_uint8(sensor_id);
......@@ -56,3 +56,4 @@ uint16_t ArduRPC_SensorNodeRemote::getSensorType(uint8_t sensor_id)
return value;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment