-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Labels
Description
I have a problem with modm::can::Message
It works in a file included from main.cpp
but not in generated code.
./modm/src/modm/communication/other/other_impl.hpp:15:17: error: no match for 'operator<<' (operand types are 'modm::log::Logger' and 'modm::can::Message')
15 | MODM_LOG_DEBUG << tx;
| ^~ ~~
| |
| modm::can::Message
I have an example here
Compiles from main
and from examples/linux/logger/other_impl.hpp
but not in modm/communication/other/other_impl.hpp
The generated code in ./modm/src/modm/architecture/interface/can_message.hpp
has the operator <<
included.
I probably do something completely wrong here ... but I cannot see it. Any suggestions?