4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-18 19:19:18 +08:00

[bluetrum] rtc add version check

This commit is contained in:
greedyhao 2021-11-08 10:19:08 +08:00
parent 9d27d8c94b
commit cb81d72f51

View File

@ -16,6 +16,10 @@
#ifdef BSP_USING_ONCHIP_RTC #ifdef BSP_USING_ONCHIP_RTC
#if RTTHREAD_VERSION < 40004
#error "RTTHREAD_VERSION is less than 4.0.4"
#endif
//#define DRV_DEBUG //#define DRV_DEBUG
#define LOG_TAG "drv.rtc" #define LOG_TAG "drv.rtc"
#include <drv_log.h> #include <drv_log.h>