summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2014-11-24 00:03:04 +0100
committerMichael Bestas <mikeioannina@gmail.com>2017-01-04 20:00:33 +0200
commit7603f82caef81184d4892949cbc508d7d22701ee (patch)
treedae65ae8e9525319d567ec5143b984d3d0989009
parent43a5a5c28e188f98f95f7e0259ea1dbb210ba7c6 (diff)
downloadandroid_hardware_qcom_fm-7603f82caef81184d4892949cbc508d7d22701ee.tar.gz
android_hardware_qcom_fm-7603f82caef81184d4892949cbc508d7d22701ee.tar.bz2
android_hardware_qcom_fm-7603f82caef81184d4892949cbc508d7d22701ee.zip
FM: jni: Fix compile error with TARGET_QCOM_NO_FM_FIRMWARE
Change-Id: If6cb13b9b5927aa0096f8dde4ecffeecf1b4bc00
-rw-r--r--jni/android_hardware_fm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/android_hardware_fm.cpp b/jni/android_hardware_fm.cpp
index 65e9bdf..82db430 100644
--- a/jni/android_hardware_fm.cpp
+++ b/jni/android_hardware_fm.cpp
@@ -626,10 +626,10 @@ static jint android_hardware_fmradio_FmReceiverJNI_acquireFdNative
close(fd);
return FM_JNI_FAILURE;
}
- }
#else
- usleep(WAIT_TIMEOUT);
+ usleep(WAIT_TIMEOUT);
#endif
+ }
return fd;
}