IO firmware hot fix: Use right pointer type for RSSI value.

This commit is contained in:
Lorenz Meier 2014-10-09 09:27:25 +02:00
parent 5ec6cb0789
commit 7bb9b3efa7
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
#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 dsm_port_input(uint8_t *rssi, bool *dsm_updated, bool *st24_updated);
static bool dsm_port_input(uint16_t *rssi, bool *dsm_updated, bool *st24_updated);
static perf_counter_t c_gather_dsm;
static perf_counter_t c_gather_sbus;
@ -60,7 +60,7 @@ static perf_counter_t c_gather_ppm;
static int _dsm_fd;
bool dsm_port_input(uint8_t *rssi, bool *dsm_updated, bool *st24_updated)
bool dsm_port_input(uint16_t *rssi, bool *dsm_updated, bool *st24_updated)
{
perf_begin(c_gather_dsm);
uint16_t temp_count = r_raw_rc_count;