[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 6ad390: fix sending of I2C err
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 6ad390: fix sending of I2C errors via telemetry |
Date: |
Thu, 29 Mar 2012 06:11:12 -0700 |
Branch: refs/heads/locm3
Home: https://github.com/paparazzi/paparazzi
Commit: 6ad3902cba1c4508a001548cb38ed3100032b34f
https://github.com/paparazzi/paparazzi/commit/6ad3902cba1c4508a001548cb38ed3100032b34f
Author: Felix Ruess <address@hidden>
Date: 2012-03-29 (Thu, 29 Mar 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] 6ad390: fix sending of I2C errors via telemetry,
GitHub <=