X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer.c;h=9e2a1173011d053f1baebc60c0634cfad837abf7;hb=878b65015a7cb487d7b2d750ac9ed396fb110e60;hp=7e99d78ee8822b9e6eeaadbdd434b09c221fc8ac;hpb=8b2b3759daf3222963cbb3cd4364fef556622e87;p=bertos.git diff --git a/bertos/drv/timer.c b/bertos/drv/timer.c index 7e99d78e..9e2a1173 100644 --- a/bertos/drv/timer.c +++ b/bertos/drv/timer.c @@ -37,6 +37,7 @@ */ #include "timer.h" +#include "hw/hw_timer.h" #include "cfg/cfg_timer.h" #include "cfg/cfg_wdt.h" @@ -59,7 +60,10 @@ //#include OS_CSOURCE(timer) #include #else - #include CPU_CSOURCE(timer) + #ifndef WIZ_AUTOGEN + #warning Deprecated: now you should include timer_ directly in the makefile. Remove this line and the following once done. + #include CPU_CSOURCE(timer) + #endif #endif /*