summaryrefslogtreecommitdiff
path: root/src/stm/ao_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/ao_arch.h')
-rw-r--r--src/stm/ao_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h
index 757b5251..adc288c3 100644
--- a/src/stm/ao_arch.h
+++ b/src/stm/ao_arch.h
@@ -88,6 +88,10 @@ extern const uint32_t ao_radio_cal;
* For now, we're running at a weird frequency
*/
+#ifndef AO_HSE
+#error High speed frequency undefined
+#endif
+
#if AO_HSE
#define AO_PLLSRC AO_HSE
#else