diff --git a/platforms/avr/hardware_id.c b/platforms/avr/hardware_id.c index 073834c19cb..b61f0d92df8 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 #include "hardware_id.h"