Skip to content

Commit b0d62a7

Browse files
committed
BLE - Fix conditional code within CordioPalGenericAccessService.
1 parent dedc204 commit b0d62a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/CordioPalGenericAccessService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ class GenericAccessService : public ::ble::pal::GenericAccessService {
2828
length = actual_length;
2929

3030
return BLE_ERROR_NONE;
31-
#endif // BLE_FEATURE_GATT_SERVER
32-
31+
#else
3332
return BLE_ERROR_NOT_IMPLEMENTED;
33+
#endif
3434
}
3535

3636
virtual ble_error_t get_device_name(ArrayView<uint8_t>& array) {

0 commit comments

Comments
 (0)