summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2014-11-24 00:03:04 +0100
committerEthan Chen <intervigil@gmail.com>2015-01-08 12:30:35 -0800
commitf1580820043d36fef9c56ee96acc00e9460b8a77 (patch)
treee3f6f8723b10260b40be127527bb09df71688401
parent9cde38d5e4e7f80b632449f292c0a2e99369e2c5 (diff)
downloadandroid_hardware_qcom_fm-f1580820043d36fef9c56ee96acc00e9460b8a77.tar.gz
android_hardware_qcom_fm-f1580820043d36fef9c56ee96acc00e9460b8a77.tar.bz2
android_hardware_qcom_fm-f1580820043d36fef9c56ee96acc00e9460b8a77.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 230f2dd..e8eec7c 100644
--- a/jni/android_hardware_fm.cpp
+++ b/jni/android_hardware_fm.cpp
@@ -134,10 +134,10 @@ static jint android_hardware_fmradio_FmReceiverJNI_acquireFdNative
close(fd);
return FM_JNI_FAILURE;
}
- }
#else
- usleep(WAIT_TIMEOUT);
+ usleep(WAIT_TIMEOUT);
#endif
+ }
return fd;
}