diff options
author | Nick Brassel <nick@tzarc.org> | 2022-04-19 00:39:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 15:39:45 +0100 |
commit | f50a623909a29e45fb9bebfd16afd1835277b530 (patch) | |
tree | 7e7d1f66cab5a68f543a1aac640f752945f50418 /platforms | |
parent | b8245a550752ed3826902f63a75203c67282ace7 (diff) |
Fixup AVR builds. (#16875)
* Fixup AVR builds.
* Update platforms/avr/hardware_id.c
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/avr/hardware_id.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platforms/avr/hardware_id.c b/platforms/avr/hardware_id.c index 073834c19c..b61f0d92df 100644 --- a/platforms/avr/hardware_id.c +++ b/platforms/avr/hardware_id.c @@ -1,6 +1,12 @@ // Copyright 2022 QMK // SPDX-License-Identifier: GPL-2.0-or-later +// For some reason this bit is undocumented for some AVR parts and not defined in their avr-libc IO headers +// See https://stackoverflow.com/questions/12350914/how-to-read-atmega-32-signature-row +#ifndef SIGRD +# define SIGRD 5 +#endif // SIGRD + #include <avr/boot.h> #include "hardware_id.h" |