Skip to content

Commit 2030d03

Browse files
committed
Modified fixes with review comments
1 parent ea30ed7 commit 2030d03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

features/FEATURE_BLE/source/generic/GenericGap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ void GenericGap::on_read_phy(
851851
)
852852
{
853853
ble_error_t status = BLE_ERROR_NONE;
854-
if (pal::hci_error_code_t(pal::hci_error_code_t::SUCCESS) != hci_status) {
854+
if (hci_status != pal::hci_error_code_t::SUCCESS) {
855855
status = BLE_ERROR_UNSPECIFIED;
856856
}
857857

@@ -868,7 +868,7 @@ void GenericGap::on_phy_update_complete(
868868
)
869869
{
870870
ble_error_t status = BLE_ERROR_NONE;
871-
if (pal::hci_error_code_t(pal::hci_error_code_t::SUCCESS) != hci_status) {
871+
if (hci_status != pal::hci_error_code_t::SUCCESS) {
872872
status = BLE_ERROR_UNSPECIFIED;
873873
}
874874

features/FEATURE_BLE/targets/TARGET_CORDIO/stack/cordio_stack/wsf/common/include/wsf_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern "C" {
5858
/**@{*/
5959
#if ((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) && \
6060
(!defined(__ICC8051__) || (__ICC8051__ == 0))) || \
61-
defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
61+
defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__) || defined(__ARMCC_VERSION)
6262

6363
#include <stdint.h>
6464
#else

0 commit comments

Comments
 (0)