Change position of ifdef
This commit is contained in:
parent
2a58ee974c
commit
ce62be1ea5
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue