X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer.c;h=d832059086a563134303e16f87146f5cd1691bba;hb=fbb255258c626502f8d7ba583ca138f903e03b75;hp=7e99d78ee8822b9e6eeaadbdd434b09c221fc8ac;hpb=8b2b3759daf3222963cbb3cd4364fef556622e87;p=bertos.git diff --git a/bertos/drv/timer.c b/bertos/drv/timer.c index 7e99d78e..d8320590 100644 --- a/bertos/drv/timer.c +++ b/bertos/drv/timer.c @@ -59,7 +59,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 /*