Use enum for target_register_timer_callback()
Change-Id: I268e8c5d783914aa97cbde301448b2c5bc3cb9e6 Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/4921 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -2859,7 +2859,7 @@ int arm7_9_init_arch_info(struct target *target, struct arm7_9_common *arm7_9)
|
||||
return retval;
|
||||
|
||||
return target_register_timer_callback(arm7_9_handle_target_request,
|
||||
1, 1, target);
|
||||
1, TARGET_TIMER_TYPE_PERIODIC, target);
|
||||
}
|
||||
|
||||
static const struct command_registration arm7_9_any_command_handlers[] = {
|
||||
|
||||
Reference in New Issue
Block a user