nimble/controller: Emit build error when building with non-32kHz clock

X-Original-Commit: cdf566d3747ec6f50fc5c0ecfb10d357bc1da2be
This commit is contained in:
Andrzej Kaczmarek
2017-06-27 11:44:25 +02:00
parent 3d97cd6b3d
commit 2d8e3debb6
@@ -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