Nordic stack and drivers for the mbed BLE API
Fork of nRF51822 by
nordic-sdk/components/libraries/util/nrf_assert.c@103:138bdc859cc9, 2015-04-15 (annotated)
- Committer:
- rgrover1
- Date:
- Wed Apr 15 08:59:11 2015 +0100
- Revision:
- 103:138bdc859cc9
Synchronized with git rev fa183c40
Author: Rohit Grover
updating to v7.1 of the Nordic SDK.
Re-organized file layout to match that from the SDK.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rgrover1 | 103:138bdc859cc9 | 1 | /* Copyright (c) 2006 Nordic Semiconductor. All Rights Reserved. |
rgrover1 | 103:138bdc859cc9 | 2 | * |
rgrover1 | 103:138bdc859cc9 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
rgrover1 | 103:138bdc859cc9 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
rgrover1 | 103:138bdc859cc9 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
rgrover1 | 103:138bdc859cc9 | 6 | * |
rgrover1 | 103:138bdc859cc9 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
rgrover1 | 103:138bdc859cc9 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
rgrover1 | 103:138bdc859cc9 | 9 | * the file. |
rgrover1 | 103:138bdc859cc9 | 10 | * |
rgrover1 | 103:138bdc859cc9 | 11 | */ |
rgrover1 | 103:138bdc859cc9 | 12 | #include "nrf_assert.h" |
rgrover1 | 103:138bdc859cc9 | 13 | |
rgrover1 | 103:138bdc859cc9 | 14 | #if defined(DEBUG_NRF) |
rgrover1 | 103:138bdc859cc9 | 15 | void assert_nrf_callback(uint16_t line_num, const uint8_t * file_name) |
rgrover1 | 103:138bdc859cc9 | 16 | { |
rgrover1 | 103:138bdc859cc9 | 17 | (void) file_name; /* Unused parameter */ |
rgrover1 | 103:138bdc859cc9 | 18 | (void) line_num; /* Unused parameter */ |
rgrover1 | 103:138bdc859cc9 | 19 | |
rgrover1 | 103:138bdc859cc9 | 20 | while (1) ; |
rgrover1 | 103:138bdc859cc9 | 21 | } |
rgrover1 | 103:138bdc859cc9 | 22 | #endif /* DEBUG_NRF */ |