projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nrf51: Rename to nrf5
[fw/openocd]
/
src
/
flash
/
nor
/
aduc702x.c
diff --git
a/src/flash/nor/aduc702x.c
b/src/flash/nor/aduc702x.c
index fa1aeb479c057b9bfca0fc830004981dea40869c..34cc362eba7444233a5ea3c3560264c67025eb92 100644
(file)
--- a/
src/flash/nor/aduc702x.c
+++ b/
src/flash/nor/aduc702x.c
@@
-371,7
+371,7
@@
static int aduc702x_check_flash_completion(struct target *target, unsigned int t
{
uint8_t v = 4;
-
long long
endtime = timeval_ms() + timeout_ms;
+
int64_t
endtime = timeval_ms() + timeout_ms;
while (1) {
target_read_u8(target, ADUC702x_FLASH + ADUC702x_FLASH_FEESTA, &v);
if ((v & 4) == 0)