projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/drivers/ao_led.c: Declare LED port as void * to allow any SoC to use this code
[fw/altos]
/
ao-tools
/
lib
/
ao-editaltos.c
diff --git
a/ao-tools/lib/ao-editaltos.c
b/ao-tools/lib/ao-editaltos.c
index 0600965309834527964843bedd596821ae93d40a..a51b7dbe8a129b2635bf26085edcb5cd1ca19dd6 100644
(file)
--- a/
ao-tools/lib/ao-editaltos.c
+++ b/
ao-tools/lib/ao-editaltos.c
@@
-53,8
+53,6
@@
int ao_num_symbols = NUM_SYMBOLS;
static bool
rewrite(struct ao_hex_image *load, unsigned address, uint8_t *data, int length)
{
- int i;
-
if (address < load->address || load->address + load->length < address + length)
return false;