topic_listener: reduce flash space by avoiding template bloat
Use a templated callback method for the code parts that we actually need templates, and avoid using a template for the rest of the code. Saves around 20KB of flash.
Showing
- src/systemcmds/topic_listener/generate_listener.py 1 addition, 1 deletionsrc/systemcmds/topic_listener/generate_listener.py
- src/systemcmds/topic_listener/listener_main.cpp 48 additions, 0 deletionssrc/systemcmds/topic_listener/listener_main.cpp
- src/systemcmds/topic_listener/topic_listener.hpp 11 additions, 43 deletionssrc/systemcmds/topic_listener/topic_listener.hpp
Loading
Please register or sign in to comment