X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Ftimer.c;h=9e2a1173011d053f1baebc60c0634cfad837abf7;hb=2156a825ba83da6e71a78237285a5558956da549;hp=694b37eea2b34c0b451b9317c25f9f878ce0a850;hpb=2c5f3d04467211d59b9387abe73c1f286ea74806;p=bertos.git diff --git a/bertos/drv/timer.c b/bertos/drv/timer.c index 694b37ee..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" @@ -58,6 +59,11 @@ #if OS_HOSTED //#include OS_CSOURCE(timer) #include +#else + #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 /*