diff options
| author | Bdale Garbee <bdale@gag.com> | 2016-01-10 19:09:09 -0700 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2016-01-10 19:09:09 -0700 |
| commit | 4ecc53175a5c28cbc1b846c24d83b6adc3afc2ef (patch) | |
| tree | 4c318f3d5b7ef01247531a8ccb8ce3ce211e48b3 /src/drivers/ao_companion.c | |
| parent | 19d25c9f4c80d2c8562fc4abd766a23961167e79 (diff) | |
| parent | a2ea621eac3263348aff50885c79296f8ece26ed (diff) | |
Merge branch 'branch-1.6' into debian
Diffstat (limited to 'src/drivers/ao_companion.c')
| -rw-r--r-- | src/drivers/ao_companion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/ao_companion.c b/src/drivers/ao_companion.c index 7e02939b..5f07e8b0 100644 --- a/src/drivers/ao_companion.c +++ b/src/drivers/ao_companion.c @@ -23,6 +23,10 @@ #define ao_spi_fast(b) #endif +#if !HAS_COMPANION +#error HAS_COMPANION not set in ao_companion.c +#endif + #define COMPANION_SELECT() do { \ ao_spi_get_bit(AO_COMPANION_CS_PORT, \ AO_COMPANION_CS_PIN, \ |
