diff options
author | px4dev <px4@purgatory.org> | 2013-01-25 22:58:33 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-01-25 22:58:33 -0800 |
commit | b46d05835b9ff55c1f21d37483202888eeea1656 (patch) | |
tree | bc0200d6a1a528058a94b9af8ecd815980eaf885 /apps/px4io/i2c.c | |
parent | 900b0d58ef62d1ff1406a312ac88317152f0312a (diff) | |
download | px4-firmware-b46d05835b9ff55c1f21d37483202888eeea1656.tar.gz px4-firmware-b46d05835b9ff55c1f21d37483202888eeea1656.tar.bz2 px4-firmware-b46d05835b9ff55c1f21d37483202888eeea1656.zip |
Implement settable failsafe values for PWM outputs.
By default in failsafe mode, PWM output pulses are not generated.
Diffstat (limited to 'apps/px4io/i2c.c')
-rw-r--r-- | apps/px4io/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/i2c.c b/apps/px4io/i2c.c index dca5ceb1d..bbbbb6e46 100644 --- a/apps/px4io/i2c.c +++ b/apps/px4io/i2c.c @@ -82,7 +82,7 @@ static unsigned rx_len; static const uint8_t junk_buf[] = { 0xff, 0xff, 0xff, 0xff }; -static uint8_t *tx_buf = junk_buf; +static const uint8_t *tx_buf = junk_buf; static unsigned tx_len = sizeof(junk_buf); static uint8_t selected_page; |