mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Bugfix of Exception Handling
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -30,7 +30,7 @@ char* currentDateTime(void);
|
||||
ClientRecvTask::ClientRecvTask(Gateway* gateway)
|
||||
{
|
||||
_gateway = gateway;
|
||||
_gateway->attach((Thread*) this);
|
||||
Runnable::threadNo =_gateway->attach((Thread*) this);
|
||||
_sensorNetwork = _gateway->getSensorNetwork();
|
||||
setTaskName("ClientRecvTask");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user