mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-17 19:07:23 +00:00
nimble/controller: Emit build error when building with non-32kHz clock
X-Original-Commit: cdf566d3747ec6f50fc5c0ecfb10d357bc1da2be
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(OS_CPUTIME_FREQ) != 32768
|
||||
#error 32.768kHz clock required
|
||||
#endif
|
||||
|
||||
/*
|
||||
* XXX:
|
||||
* I guess this should not depend on the 32768 crystal to be honest. This
|
||||
|
||||
Reference in New Issue
Block a user