Formatting
This commit is contained in:
@@ -1419,7 +1419,8 @@ protected:
|
|||||||
// Register UDP command handler for sampling response (cmd_set=0x00, cmd_id=0x04)
|
// Register UDP command handler for sampling response (cmd_set=0x00, cmd_id=0x04)
|
||||||
device.registerUdpCommandHandler(
|
device.registerUdpCommandHandler(
|
||||||
0x00, 0x04,
|
0x00, 0x04,
|
||||||
std::bind(&EnDisablePcloudDataReq<CallbackType>::enDisablePcloudDataReq1_2,
|
std::bind(
|
||||||
|
&EnDisablePcloudDataReq<CallbackType>::enDisablePcloudDataReq1_2,
|
||||||
this, request,
|
this, request,
|
||||||
std::placeholders::_1, std::placeholders::_2,
|
std::placeholders::_1, std::placeholders::_2,
|
||||||
std::placeholders::_3),
|
std::placeholders::_3),
|
||||||
@@ -1739,7 +1740,6 @@ void Device::disablePcloudDataReq(
|
|||||||
*/
|
*/
|
||||||
cleanupPcloudDataSocket();
|
cleanupPcloudDataSocket();
|
||||||
|
|
||||||
|
|
||||||
// Send the stop sampling command
|
// Send the stop sampling command
|
||||||
if (!request->sendCommand())
|
if (!request->sendCommand())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user