Browse Source

add zdate

master
zhaohe 9 months ago
parent
commit
92ed79403f
  1. 10
      bean/zdate.hpp
  2. 3
      stm32components.hpp

10
bean/zdate.hpp

@ -0,0 +1,10 @@
#pragma once
#include <stdint.h>
typedef struct {
uint16_t year;
uint8_t month;
uint8_t day;
uint8_t hours;
uint8_t minutes;
uint8_t seconds;
} zdate_t;

3
stm32components.hpp

@ -1,4 +1,7 @@
#pragma once #pragma once
#include "bean/zdate.hpp"
#include "zcanreceiver/zcanreceiver.hpp" #include "zcanreceiver/zcanreceiver.hpp"
#include "tmcdriver/tmc51x0/tmc51x0.hpp" #include "tmcdriver/tmc51x0/tmc51x0.hpp"
#include "sysmgr/sys_mgr.hpp" #include "sysmgr/sys_mgr.hpp"
Loading…
Cancel
Save