![](/media/cache/profiles/266dc8d468ccd5a7def18714b2647e92.jpg.50x50_q85.jpg)
https://mbed.org/forum/ja/topic/4890/
Fork of BTstack by
Diff: BTstack/btstack/hal_cpu.h
- Revision:
- 1:b657594559be
- Parent:
- 0:1ed23ab1345f
--- a/BTstack/btstack/hal_cpu.h Tue Jun 26 14:27:45 2012 +0000 +++ b/BTstack/btstack/hal_cpu.h Thu Mar 21 13:53:05 2013 +0000 @@ -35,9 +35,15 @@ * Low power mode for MCU requires that IRQs can be first blocked * and then unblocked while entering low power mode atomically */ +#if defined __cplusplus +extern "C" { +#endif void hal_cpu_disable_irqs(void); void hal_cpu_enable_irqs(void); void hal_cpu_enable_irqs_and_sleep(void); +#if defined __cplusplus +} +#endif \ No newline at end of file