diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp index 19e5accf3d..2acf51eb63 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp @@ -31,6 +31,7 @@ * */ +#if 0 // AVR LibC Includes #include "AP_RangeFinder_MaxsonarI2CXL.h" #include @@ -87,3 +88,4 @@ int16_t AP_RangeFinder_MaxsonarI2CXL::read() return ret_value; } +#endif diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp index 36942f49bb..429b2441d4 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.cpp @@ -1,3 +1,4 @@ +#if 0 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* This program is free software: you can redistribute it and/or modify @@ -75,3 +76,5 @@ float AP_RangeFinder_MaxsonarXL::calculate_scaler(int16_t sonar_type, float adc_ _scaler = type_scaler * adc_refence_voltage / 5.0f; return _scaler; } + +#endif diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.cpp index 5ea7aa874e..56934b148a 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.cpp @@ -1,3 +1,4 @@ +#if 0 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* This program is free software: you can redistribute it and/or modify @@ -126,3 +127,4 @@ int16_t AP_RangeFinder_PulsedLightLRF::read() // to-do: do we really want to return 0 if reading the distance fails? return ret_value; } +#endif diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.cpp index 84cf342d79..d9056d7a76 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.cpp @@ -1,3 +1,4 @@ +#if 0 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* This program is free software: you can redistribute it and/or modify @@ -47,3 +48,4 @@ AP_RangeFinder_SharpGP2Y::AP_RangeFinder_SharpGP2Y(AP_HAL::AnalogSource *source, } // Public Methods ////////////////////////////////////////////////////////////// +#endif