Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
softdevice_handler_appsh.c
00001 /* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is property of Nordic Semiconductor ASA. 00004 * Terms and conditions of usage are described in detail in NORDIC 00005 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 */ 00012 00013 #include "softdevice_handler_appsh.h" 00014 #include "app_scheduler.h" 00015 #include <string.h> 00016 00017 void softdevice_evt_get(void * p_event_data, uint16_t event_size) 00018 { 00019 APP_ERROR_CHECK_BOOL(event_size == 0); 00020 intern_softdevice_events_execute(); 00021 } 00022 00023 uint32_t softdevice_evt_schedule(void) 00024 { 00025 return app_sched_event_put(NULL, 0, softdevice_evt_get); 00026 }
Generated on Tue Jul 12 2022 19:22:47 by
1.7.2
