X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fpower.h;h=93c40c0394936d09552074b905eb423e9b4113aa;hb=32eebaf8bf80d1ffd417bfe6d2c34e6cd3684f87;hp=035495d47811aa1016bf2f41d56dd36046b04813;hpb=b812fafcc11015af6fe0ef2b1b0bd81e19cf6eff;p=bertos.git diff --git a/bertos/cpu/power.h b/bertos/cpu/power.h index 035495d4..93c40c03 100644 --- a/bertos/cpu/power.h +++ b/bertos/cpu/power.h @@ -37,10 +37,10 @@ #ifndef CPU_POWER_H #define CPU_POWER_H -#include -#include +#include "cfg/cfg_proc.h" +#include "cfg/cfg_wdt.h" -#if CONFIG_KERNEL +#if CONFIG_KERN #include #endif @@ -66,7 +66,7 @@ */ INLINE void cpu_relax(void) { -#if CONFIG_KERNEL +#if CONFIG_KERN proc_yield(); #endif