|
@@ -116,6 +116,7 @@ void lpc_write_ram(struct lpc_device *dev, const struct sprog_data *d, unsigned
|
|
lpc_command("W %u %u\r\n", addr, d->size);
|
|
lpc_command("W %u %u\r\n", addr, d->size);
|
|
sprog_error("Writing %d bytes\n", d->size);
|
|
sprog_error("Writing %d bytes\n", d->size);
|
|
|
|
|
|
|
|
+ last_i = 0;
|
|
last_offset = 0;
|
|
last_offset = 0;
|
|
offset = 0;
|
|
offset = 0;
|
|
sprog_progress((offset*100)/d->size);
|
|
sprog_progress((offset*100)/d->size);
|