Change position of ifdef

This commit is contained in:
Liyou Zhou 2015-11-26 14:24:38 +00:00
parent 2a58ee974c
commit ce62be1ea5
1 changed files with 0 additions and 3 deletions

View File

@ -19,8 +19,6 @@
#ifndef __BLE_DFU_SERVICE_H__ #ifndef __BLE_DFU_SERVICE_H__
#define __BLE_DFU_SERVICE_H__ #define __BLE_DFU_SERVICE_H__
#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */
#include "ble/BLE.h" #include "ble/BLE.h"
#include "ble/UUID.h" #include "ble/UUID.h"
@ -144,6 +142,5 @@ protected:
static ResetPrepare_t handoverCallback; /**< application specific handover callback. */ static ResetPrepare_t handoverCallback; /**< application specific handover callback. */
}; };
#endif /* #ifdef TARGET_NRF51822 */
#endif /* #ifndef __BLE_DFU_SERVICE_H__*/ #endif /* #ifndef __BLE_DFU_SERVICE_H__*/
#endif /* #ifdef TARGET_NRF51822 */ #endif /* #ifdef TARGET_NRF51822 */