Skip to content

Commit d5b7b09

Browse files
committed
forgotten to initialize factor
1 parent db184fe commit d5b7b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace libdbc {
44
Signal::Signal(std::string name, bool is_multiplexed, uint32_t start_bit, uint32_t size, bool is_bigendian, bool is_signed, double factor, double offset, double min, double max, std::string unit, std::vector<std::string> receivers) :
5-
name(name), is_multiplexed(is_multiplexed), start_bit(start_bit), size(size), is_bigendian(is_bigendian), is_signed(is_signed), offset(offset), min(min), max(max), unit(unit), receivers(receivers) {}
5+
name(name), is_multiplexed(is_multiplexed), start_bit(start_bit), size(size), is_bigendian(is_bigendian), is_signed(is_signed), factor(factor), offset(offset), min(min), max(max), unit(unit), receivers(receivers) {}
66

77
bool Signal::operator==(const Signal& rhs) const {
88
return (this->name == rhs.name) && (this->is_multiplexed == rhs.is_multiplexed) &&

0 commit comments

Comments
 (0)