Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.
Diff: source/nordic_sdk/components/libraries/scheduler/app_scheduler.h
- Revision:
- 24:2aea0c1c57ee
- Parent:
- 22:67a8d2c0bbbf
- Child:
- 27:0fe148f1bca3
--- a/source/nordic_sdk/components/libraries/scheduler/app_scheduler.h Thu Apr 07 17:37:48 2016 +0100 +++ b/source/nordic_sdk/components/libraries/scheduler/app_scheduler.h Thu Apr 07 17:37:49 2016 +0100 @@ -59,7 +59,7 @@ * scheduler's queue. The app_sched_execute() function will pull this event and call its * handler in the main context. * - * @if (SD_S110 && !SD_S310) + * @if (PERIPHERAL) * For an example usage of the scheduler, see the implementations of * @ref ble_sdk_app_hids_mouse and @ref ble_sdk_app_hids_keyboard. * @endif @@ -72,6 +72,7 @@ #include <stdint.h> #include "app_error.h" +#include "app_util.h" #define APP_SCHED_EVENT_HEADER_SIZE 8 /**< Size of app_scheduler.event_header_t (only for use inside APP_SCHED_BUF_SIZE()). */