{
LONGEST len;
- len = target_write_with_progress (current_target.beneath,
+ len = target_write_with_progress (target_stack,
TARGET_OBJECT_MEMORY, NULL,
iter.data, iter.begin,
iter.end - iter.begin,
{
LONGEST len;
- len = target_write_with_progress (¤t_target,
+ len = target_write_with_progress (target_stack,
TARGET_OBJECT_FLASH, NULL,
iter.data, iter.begin,
iter.end - iter.begin,