Merge remote-tracking branch 'upstream/master' into offboard2_merge

This commit is contained in:
Thomas Gubler 2014-07-03 12:58:43 +02:00
commit 57f707af56
2 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@
#include "px4io.h" #include "px4io.h"
#define RC_FAILSAFE_TIMEOUT 2000000 /**< two seconds failsafe timeout */ #define RC_FAILSAFE_TIMEOUT 2000000 /**< two seconds failsafe timeout */
#define RC_CHANNEL_HIGH_THRESH 5000 #define RC_CHANNEL_HIGH_THRESH 5000 /* 75% threshold */
#define RC_CHANNEL_LOW_THRESH -5000 #define RC_CHANNEL_LOW_THRESH -8000 /* 10% threshold */
static bool ppm_input(uint16_t *values, uint16_t *num_values, uint16_t *frame_len); static bool ppm_input(uint16_t *values, uint16_t *num_values, uint16_t *frame_len);

View File

@ -86,7 +86,7 @@ warnerr_core(int errcode, const char *fmt, va_list args)
fprintf(stderr, "\n"); fprintf(stderr, "\n");
#elif CONFIG_ARCH_LOWPUTC #elif CONFIG_ARCH_LOWPUTC
lowsyslog("%s: ", getprogname()); lowsyslog("%s: ", getprogname());
lowvyslog(fmt, args); lowvsyslog(fmt, args);
/* convenience as many parts of NuttX use negative errno */ /* convenience as many parts of NuttX use negative errno */
if (errcode < 0) if (errcode < 0)