Skip to content
Snippets Groups Projects
Commit 7d8a600d authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed some old and unnecessary variables.

parent 4efce7a5
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ bool hex2bin(char *hexFile, unsigned char *pBinBuffer, long *StartAddress, long
unsigned char Line[MAX_LINE_SIZE];
unsigned char Data_Str[MAX_LINE_SIZE];
unsigned int Nb_Bytes;
unsigned int First_Word, Address, Segment, Upper_Address;
unsigned int Lowest_Address, Highest_Address, Starting_Address;
unsigned int First_Word, Address, Segment;
unsigned int Lowest_Address, Highest_Address;
unsigned int Phys_Addr, Type, Ext_Addr=0;
unsigned int temp;
int i, iIndex, len;
......@@ -30,10 +30,8 @@ bool hex2bin(char *hexFile, unsigned char *pBinBuffer, long *StartAddress, long
}
Segment = 0x00;
Upper_Address = 0x00;
Lowest_Address = MEMORY_MAXSIZE - 1;
Highest_Address = 0x00;
Starting_Address = 0x00;
do
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment