Change position of ifdef

This commit is contained in:
Liyou Zhou 2015-11-26 14:24:38 +00:00
parent 2a58ee974c
commit ce62be1ea5

View file

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