summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r--firmware/export/system.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 9df382bc24..3984ebeb11 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -66,15 +66,17 @@ void cpu_boost(bool on_off);
66#endif 66#endif
67void cpu_idle_mode(bool on_off); 67void cpu_idle_mode(bool on_off);
68int get_cpu_boost_counter(void); 68int get_cpu_boost_counter(void);
69#else 69#else /* ndef HAVE_ADJUSTABLE_CPU_FREQ */
70#ifndef FREQ
70#define FREQ CPU_FREQ 71#define FREQ CPU_FREQ
72#endif
71#define set_cpu_frequency(frequency) 73#define set_cpu_frequency(frequency)
72#define cpu_boost(on_off) 74#define cpu_boost(on_off)
73#define cpu_boost_id(on_off, id) 75#define cpu_boost_id(on_off, id)
74#define cpu_idle_mode(on_off) 76#define cpu_idle_mode(on_off)
75#define get_cpu_boost_counter() 77#define get_cpu_boost_counter()
76#define get_cpu_boost_tracker() 78#define get_cpu_boost_tracker()
77#endif 79#endif /* HAVE_ADJUSTABLE_CPU_FREQ */
78 80
79#ifdef CPU_BOOST_LOGGING 81#ifdef CPU_BOOST_LOGGING
80#define cpu_boost(on_off) cpu_boost_(on_off,__FILE__, __LINE__) 82#define cpu_boost(on_off) cpu_boost_(on_off,__FILE__, __LINE__)