From 7d0e40d15bd012396fd0601d958fab5c6ca13266 Mon Sep 17 00:00:00 2001 From: WestfW Date: Thu, 10 Dec 2015 15:00:42 -0800 Subject: [PATCH] Add and implement alias table to support ATmega168P, ATmega168PB, ATmega328PB, ATmega328 --- optiLoader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/optiLoader.h b/optiLoader.h index f288160..eac43e6 100644 --- a/optiLoader.h +++ b/optiLoader.h @@ -11,9 +11,9 @@ typedef struct image { } image_t; typedef struct alias { - char image_chipname[12]; - uint16_t image_chipsig; - image_t * alias_image; + char alias_chipname[12]; /* Name of chip. ie Atmega168PA */ + uint16_t real_chipsig; /* Low 16 bits actual chip sig. */ + uint16_t alias_chipsig; /* "is the same as " */ } alias_t; #define FUSE_PROT 0 /* memory protection */