From: Keith Packard Date: Mon, 17 Dec 2012 00:04:05 +0000 (-0800) Subject: altos: Wire up another CC1120 GPIO to get MARC status changes X-Git-Tag: 1.1.9.3~10^2~8 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c;hp=22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c;p=fw%2Faltos altos: Wire up another CC1120 GPIO to get MARC status changes When the radio drops out of RX or TX mode due to an error, it changes the MARC status, and sends pulse down a configured GPIO. Use this to tell when something 'bad' happened during TX or RX so that we can recover from losing the SPI bus in the middle of transmission or reception. Without this, the radio would change state and we'd never know, leaving the radio code waiting for an interrupt that would never arrive. Signed-off-by: Keith Packard ---