stlink: fix typo

Change-Id: I5fe7b695b00faef966e7621614bbd60b6e694a4f
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/800
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
Spencer Oliver 2012-08-28 17:03:05 +01:00 committed by Freddie Chopin
parent 897817b331
commit 9a8aa4ec63
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ static int stm32_stlink_assert_reset(struct target *target)
} }
if (use_srst_fallback) { if (use_srst_fallback) {
/* stlink v1 api does support hardware srst, so we use a software reset fallback */ /* stlink v1 api does not support hardware srst, so we use a software reset fallback */
stlink_if->layout->api->write_debug_reg(stlink_if->fd, NVIC_AIRCR, AIRCR_VECTKEY | AIRCR_SYSRESETREQ); stlink_if->layout->api->write_debug_reg(stlink_if->fd, NVIC_AIRCR, AIRCR_VECTKEY | AIRCR_SYSRESETREQ);
} }