Merge branch 'master' of github.com:PX4/Firmware into paul_estimator

This commit is contained in:
Lorenz Meier
2014-01-02 17:10:56 +01:00
3 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -176,7 +176,7 @@ then
tone_alarm MBABGP
if px4io forceupdate 14662 $io_file
then
usleep 200000
usleep 500000
if px4io start
then
echo "PX4IO restart OK"
@@ -186,7 +186,8 @@ then
echo "PX4IO restart failed"
echo "PX4IO restart failed" >> $logfile
tone_alarm MNGGG
sh /etc/init.d/rc.error
sleep 10
reboot
fi
else
echo "PX4IO update failed"
+1 -1
View File
@@ -60,7 +60,7 @@
/**
* Maximum number of R/C input channels in the system. S.Bus has up to 18 channels.
*/
#define RC_INPUT_MAX_CHANNELS 20
#define RC_INPUT_MAX_CHANNELS 18
/**
* Input signal type, value is a control position from zero to 100
+1
View File
@@ -148,6 +148,7 @@ esc_calib_main(int argc, char *argv[])
case 'l':
/* Read in custom low value */
pwm_low = strtoul(optarg, &ep, 0);
if (*ep != '\0' || pwm_low < PWM_LOWEST_MIN || pwm_low > PWM_HIGHEST_MIN)
usage("low PWM invalid");
break;