diff --git a/bean/zdate.hpp b/bean/zdate.hpp new file mode 100644 index 0000000..d5208a0 --- /dev/null +++ b/bean/zdate.hpp @@ -0,0 +1,10 @@ +#pragma once +#include +typedef struct { + uint16_t year; + uint8_t month; + uint8_t day; + uint8_t hours; + uint8_t minutes; + uint8_t seconds; +} zdate_t; diff --git a/stm32components.hpp b/stm32components.hpp index a530e06..e7eb1b1 100644 --- a/stm32components.hpp +++ b/stm32components.hpp @@ -1,4 +1,7 @@ #pragma once +#include "bean/zdate.hpp" + + #include "zcanreceiver/zcanreceiver.hpp" #include "tmcdriver/tmc51x0/tmc51x0.hpp" #include "sysmgr/sys_mgr.hpp"