diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-19 16:44:38 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 15:55:03 +0100 |
commit | 5492ff0bfedfadffc10bcbf172cade47f9450beb (patch) | |
tree | 04f13fb1ea037853f9bdbf1125e9e26c0317e951 /low-can-binding/binding | |
parent | 5178fbebb1b2aa6a25c50259f2545e97502c4248 (diff) |
converter: littles improvements.
Bug-AGL: SPEC-2988
Change-Id: I9198835b96c66c140f8b1d4167828302b9dc4959
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding')
-rw-r--r-- | low-can-binding/binding/low-can-subscription.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-subscription.cpp b/low-can-binding/binding/low-can-subscription.cpp index 2cb5bafb..c3a0b3fa 100644 --- a/low-can-binding/binding/low-can-subscription.cpp +++ b/low-can-binding/binding/low-can-subscription.cpp @@ -420,7 +420,7 @@ int low_can_subscription_t::open_socket(low_can_subscription_t &subscription, co else if(flags & J1939_PROTOCOL) { pgn_t pgn = J1939_NO_PGN; - if(subscription.signal_ != nullptr) + if(subscription.signal_) { pgn = subscription.signal_->get_message()->get_id(); std::shared_ptr<utils::socketcan_j1939_data_t> socket = std::make_shared<utils::socketcan_j1939_data_t>(); |