diff --git a/TESTS/mbed_hal/sleep/main.cpp b/TESTS/mbed_hal/sleep/main.cpp index 2e5e3513ad..26de0f2e93 100644 --- a/TESTS/mbed_hal/sleep/main.cpp +++ b/TESTS/mbed_hal/sleep/main.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#if 1 || !DEVICE_SLEEP +#if !DEVICE_SLEEP #error [NOT_SUPPORTED] sleep not supported for this target #endif