summaryrefslogtreecommitdiff
path: root/cross/avr-libc/patches/patch-include_avr_power.h
blob: e424bfea58eff9bd711055fe9569aadebda13eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-include_avr_power.h,v 1.1 2021/09/08 12:20:35 micha Exp $

Fix support for ATmega324PA.
http://savannah.nongnu.org/bugs/?61102

--- include/avr/power.h.orig	2016-02-07 22:59:49.000000000 +0000
+++ include/avr/power.h
@@ -1303,6 +1303,7 @@ __power_all_disable()
 || defined(__AVR_ATmega256RFR2__) \
 || defined(__AVR_ATmega324A__) \
 || defined(__AVR_ATmega324P__) \
+|| defined(__AVR_ATmega324PA__) \
 || defined(__AVR_ATmega325__) \
 || defined(__AVR_ATmega325A__) \
 || defined(__AVR_ATmega325PA__) \