-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
Description
Hi,
I have stumbled on multiple missing includes.
- STM32 USB header
https://github.com/modm-io/modm/blob/7badc7de80945518867c051fcbd8295677c46aeb/src/modm/platform/usb/stm32/usb.hpp.in
is calling RCC functions, but it is missing RCC include
#include <modm/platform/clock/rcc.hpp>
Also there is a literal _MHz in the static assert used, thus #include <modm/math/units.hpp> is also missing (and using namespace modm::literals;)
- iostream_chrono.hpp
https://github.com/modm-io/modm/blob/develop/src/modm/io/iostream_chrono.hpp.in
uses IOStream functions but does not include proper header
#include <modm/io/iostream.hpp>