Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
humanoides
robotis_tools
Commits
7d8a600d
Commit
7d8a600d
authored
Jul 08, 2016
by
Sergi Hernandez
Browse files
Removed some old and unnecessary variables.
parent
4efce7a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fw_downloader/hex2bin.cpp
View file @
7d8a600d
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment