summaryrefslogtreecommitdiff
path: root/src/target/feroceon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/feroceon.c')
-rw-r--r--src/target/feroceon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/feroceon.c b/src/target/feroceon.c
index c6edc429..0cd632bd 100644
--- a/src/target/feroceon.c
+++ b/src/target/feroceon.c
@@ -547,9 +547,9 @@ int feroceon_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buf
buffer += 4;
}
- target->type->halt(target);
+ target_halt(target);
while (target->state != TARGET_HALTED)
- target->type->poll(target);
+ target_poll(target);
/* restore target state */
for (i = 0; i <= 5; i++)