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:
parent
897817b331
commit
9a8aa4ec63
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue