From a0b0ea9312d41a6f48d3a8e92d1d12f69a714bcd Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 15 May 2018 08:42:33 -0400 Subject: Always enable Kingfisher support Make Kingfisher support unconditional to move all platform detection to run-time. This fixes the issue of violating the application build workflow with the SDK. Additionally, the Kingfisher detection has been improved with an added check for the Si4689 device-tree node to differentiate from a regular M3ULCB, and the Kingfisher output has been fixed for recent BSP changes. Change-Id: I28e18a065385205aefec974079b0a9c2d31059b6 Signed-off-by: Scott Murray --- binding/radio-binding.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'binding/radio-binding.c') diff --git a/binding/radio-binding.c b/binding/radio-binding.c index 220701b..8efe3bd 100644 --- a/binding/radio-binding.c +++ b/binding/radio-binding.c @@ -29,9 +29,7 @@ #include "radio_impl.h" #include "radio_impl_rtlsdr.h" -#ifdef HAVE_KINGFISHER #include "radio_impl_kingfisher.h" -#endif static radio_impl_ops_t *radio_impl_ops; @@ -475,13 +473,11 @@ static int init() // Look for RTL-SDR USB adapter radio_impl_ops = &rtlsdr_impl_ops; rc = radio_impl_ops->init(); -#ifdef HAVE_KINGFISHER if(rc != 0) { // Look for Kingfisher Si4689 radio_impl_ops = &kf_impl_ops; rc = radio_impl_ops->init(); } -#endif if(rc == 0) { printf("%s found\n", radio_impl_ops->name); radio_impl_ops->set_frequency_callback(freq_callback, NULL); -- cgit 1.2.3-korg