white space diffs.
parent
f69fd98508
commit
6d1b1d94f6
|
@ -89,8 +89,7 @@ typedef void (*sys_evt_handler_t) (uint32_t evt_id);
|
|||
* reinitialization).
|
||||
*/
|
||||
/*lint -emacro(506, SOFTDEVICE_HANDLER_INIT) */ /* Suppress "Constant value Boolean */
|
||||
#define SOFTDEVICE_HANDLER_INIT(CLOCK_SOURCE, \
|
||||
EVT_HANDLER) \
|
||||
#define SOFTDEVICE_HANDLER_INIT(CLOCK_SOURCE, EVT_HANDLER) \
|
||||
do \
|
||||
{ \
|
||||
static uint32_t BLE_EVT_BUFFER[CEIL_DIV(BLE_STACK_EVT_MSG_BUF_SIZE, sizeof(uint32_t))]; \
|
||||
|
@ -98,7 +97,7 @@ typedef void (*sys_evt_handler_t) (uint32_t evt_id);
|
|||
ERR_CODE = softdevice_handler_init((CLOCK_SOURCE), \
|
||||
BLE_EVT_BUFFER, \
|
||||
sizeof(BLE_EVT_BUFFER), \
|
||||
EVT_HANDLER); \
|
||||
EVT_HANDLER); \
|
||||
APP_ERROR_CHECK(ERR_CODE); \
|
||||
} while (0)
|
||||
|
||||
|
@ -117,7 +116,7 @@ typedef void (*sys_evt_handler_t) (uint32_t evt_id);
|
|||
* used, this buffer must be provided by the application. The
|
||||
* buffer must be large enough to hold the biggest stack event the
|
||||
* application is supposed to handle. The buffer must be aligned to
|
||||
* a 4 byte boundary. This parameter is unused if BLE stack support
|
||||
* a 4 byte boundary. This parameter is unused if BLE stack support
|
||||
* is not required.
|
||||
* @param[in] ble_evt_buffer_size Size of SoftDevice BLE event buffer. This parameter is unused if
|
||||
* BLE stack support is not required.
|
||||
|
|
Loading…
Reference in New Issue