[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 8eebbb: fix sending of I2C err
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 8eebbb: fix sending of I2C errors via telemetry |
Date: |
Mon, 14 May 2012 03:05:40 -0700 |
Branch: refs/heads/v3.9
Home: https://github.com/paparazzi/paparazzi
Commit: 8eebbbbd344b7486ed5ae533f159ec2e04e0f1b1
https://github.com/paparazzi/paparazzi/commit/8eebbbbd344b7486ed5ae533f159ec2e04e0f1b1
Author: Felix Ruess <address@hidden>
Date: 2012-05-14 (Mon, 14 May 2012)
Changed paths:
M sw/airborne/firmwares/rotorcraft/telemetry.h
Log Message:
-----------
fix sending of I2C errors via telemetry
* we can't pass the address of a volatile var to the downlink macros:
it will be cast to (const uint8_t*) and read byte by byte and hence not work
properly if it is volatile
* you will also rightly get a warning "cast discards qualifiers from pointer
target type"
* so we need to copy it to a non-volatile var before sending
Commit: 721e95aa66fecadf70b551c5c2fc25b96b51e381
https://github.com/paparazzi/paparazzi/commit/721e95aa66fecadf70b551c5c2fc25b96b51e381
Author: Felix Ruess <address@hidden>
Date: 2012-05-14 (Mon, 14 May 2012)
Changed paths:
M conf/telemetry/default_rotorcraft.xml
Log Message:
-----------
[conf] re-enable the I2C_ERRORS message
Compare: https://github.com/paparazzi/paparazzi/compare/7bb5fb5...721e95a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] 8eebbb: fix sending of I2C errors via telemetry,
GitHub <=