mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces
This commit is contained in:
committed by
Andrew Tridgell
parent
12c9e50aef
commit
b84dcd483d
@@ -11,7 +11,7 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*
|
||||
* Code by Andrew Tridgell and Siddharth Bharat Purohit
|
||||
*/
|
||||
#include "RCInput.h"
|
||||
@@ -73,7 +73,7 @@ bool RCInput::new_input()
|
||||
radio->init();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
return valid;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ uint8_t RCInput::read(uint16_t* periods, uint8_t len)
|
||||
if (!_init) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (len > RC_INPUT_MAX_CHANNELS) {
|
||||
len = RC_INPUT_MAX_CHANNELS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user