File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 77#include <ina90.h>
88#include "AvrEeprom.h"
99/*********************************************************************************/
10- #if (AVR_EEPROM_REVISION_DATE != 20180921 )
10+ #if (AVR_EEPROM_REVISION_DATE != 20190114 )
1111#error wrong include file. (AvrEeprom.h)
1212#endif
1313/*********************************************************************************/
Original file line number Diff line number Diff line change 77#ifndef __AVR_EEPROM_H__
88#define __AVR_EEPROM_H__
99/*********************************************************************************/
10- #define AVR_EEPROM_REVISION_DATE 20180921
10+ #define AVR_EEPROM_REVISION_DATE 20190114
1111/*********************************************************************************/
1212/** REVISION HISTORY **/
1313/*
14+ 2019. 01. 14. - CPU타입 __AVR_ATMEGA2560__ 추가.
15+ Jeong Hyun Gu
16+
1417 2018. 09. 21. - DoEepWriteControl() 함수에서 Length 보다 1바이트 더 쓰던 현상 수정.
1518 Jeong Hyun Gu
1619
3639#define false 0
3740
3841
39- #define __AVR_ATMEGA128__
42+ #define __AVR_ATMEGA2560__
4043
4144
4245#ifdef __AVR_ATMEGA8__
6972/* Endurance: 100,000 Write/Erase */
7073#endif
7174
75+ #ifdef __AVR_ATMEGA2560__
76+ #include <iom2560.h>
77+ #define EEPROM_SIZE 4096
78+ /* Endurance: 100,000 Write/Erase */
79+ #endif
80+
7281/*********************************************************************************/
7382/**Enum**/
7483
You can’t perform that action at this time.
0 commit comments