Skip to content

Commit ac8e8c1

Browse files
Merge pull request #2 from TimerOverflow/20161108
20161108
2 parents 7fbd388 + 5e2e306 commit ac8e8c1

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

AvrEeprom.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
/*********************************************************************************/
77
#include "AvrEeprom.h"
88
/*********************************************************************************/
9+
#if(AVR_EEPROM_REVISION_DATE != 20161108)
10+
#error wrong include file. (AvrEeprom.h)
11+
#endif
12+
/*********************************************************************************/
913
/** Global variable **/
1014

1115

@@ -199,3 +203,9 @@ char Eeprom_Read(unsigned int Addr)
199203
return EEDR;
200204
}
201205
/*********************************************************************************/
206+
207+
208+
209+
210+
211+

AvrEeprom.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@
77
#ifndef __AVR_EEPROM_H__
88
#define __AVR_EEPROM_H__
99
/*********************************************************************************/
10+
#define AVR_EEPROM_REVISION_DATE 20161108
11+
/*********************************************************************************/
1012
/** REVISION HISTORY **/
1113
/*
14+
2016. 11. 08. - revision valid check 추가.
15+
Jung Hyun Gu
16+
1217
2016. 10. 28. - DoEepWriteControl() 반환값 수정.
1318
Jung Hyun Gu - 반환값 관련 주석 추가.
1419
@@ -94,3 +99,14 @@ char Eeprom_Read(unsigned int Addr);
9499

95100
/*********************************************************************************/
96101
#endif //__AVR_EEPROM_H__
102+
103+
104+
105+
106+
107+
108+
109+
110+
111+
112+

0 commit comments

Comments
 (0)