File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
targets/TARGET_CORDIO/stack/cordio_stack/wsf/common/include Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ void GenericGap::on_read_phy(
851
851
)
852
852
{
853
853
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) {
855
855
status = BLE_ERROR_UNSPECIFIED;
856
856
}
857
857
@@ -868,7 +868,7 @@ void GenericGap::on_phy_update_complete(
868
868
)
869
869
{
870
870
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) {
872
872
status = BLE_ERROR_UNSPECIFIED;
873
873
}
874
874
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ extern "C" {
58
58
/**@{*/
59
59
#if ((defined(__STDC_VERSION__ ) && (__STDC_VERSION__ >= 199901L )) && \
60
60
(!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 )
62
62
63
63
#include <stdint.h>
64
64
#else
You can’t perform that action at this time.
0 commit comments