Nordic stack and drivers for the mbed BLE API
Fork of nRF51822 by
nordic-sdk/components/libraries/util/nrf_assert.c@162:5fd73fb47b21, 2015-05-09 (annotated)
- Committer:
- marcpl
- Date:
- Sat May 09 17:04:09 2015 +0000
- Revision:
- 162:5fd73fb47b21
- Parent:
- 103:138bdc859cc9
Add a quick and dirty workaround in the nRF51822 library in order to avoid duplicate definition of GPIOTE_IRQHandler.
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 */ |