aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/can-bus.cpp1
-rw-r--r--src/can-decoder.cpp2
-rw-r--r--src/can-signals.cpp2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/can-bus.cpp b/src/can-bus.cpp
index 76f6e45b..f35319a9 100644
--- a/src/can-bus.cpp
+++ b/src/can-bus.cpp
@@ -165,6 +165,7 @@ int can_bus_t::init_can_dev()
{
i++;
DEBUG(binder_interface, "Start reading thread");
+ NOTICE(binder_interface, "%s device opened and reading", device.c_str());
can_devices_m_[device]->start_reading(*this);
}
else
diff --git a/src/can-decoder.cpp b/src/can-decoder.cpp
index 5bc4642f..03471398 100644
--- a/src/can-decoder.cpp
+++ b/src/can-decoder.cpp
@@ -88,7 +88,7 @@ openxc_DynamicField decoder_t::translateSignal(CanSignal& signal, can_message_t&
}
float value = parseSignalBitfield(signal, message);
- DEBUG(binder_interface, "Decoded message: %f", value);
+ DEBUG(binder_interface, "translateSignal: Decoded message: %f", value);
bool send = true;
// Must call the decoders every time, regardless of if we are going to
diff --git a/src/can-signals.cpp b/src/can-signals.cpp
index d761e1e4..5683862e 100644
--- a/src/can-signals.cpp
+++ b/src/can-signals.cpp
@@ -36,7 +36,7 @@ std::vector<std::vector<CanMessageDefinition>> CAN_MESSAGES = {
std::vector<std::vector<CanSignal>> SIGNALS = {
{
{&(CAN_MESSAGES[MESSAGE_SET_ID][0]), "can.driver_door.open", 2, 4, 1.000000, 0.000000, 0.000000, 0.000000, {10, 0, nullptr}, false, true, nullptr, 0, false, decoder_t::booleanDecoder, nullptr, false, (float)NULL},
- {&(CAN_MESSAGES[MESSAGE_SET_ID][1]), "can.driver_door.close", 2, 4, 1.000000, 0.000000, 0.000000, 0.000000, {10, 0, nullptr}, false, true, nullptr, 0, false, decoder_t::booleanDecoder, nullptr, false, (float)NULL}
+ {&(CAN_MESSAGES[MESSAGE_SET_ID][1]), "can.driver_door.close", 0, 4, 1.000000, 0.000000, 0.000000, 0.000000, {10, 0, nullptr}, false, true, nullptr, 0, false, decoder_t::booleanDecoder, nullptr, false, (float)NULL}
},
};