Browse Source

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>
tags/v0.6.0-rc2
Spencer Oliver 9 years ago
committed by Freddie Chopin
parent
commit
9a8aa4ec63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/target/stm32_stlink.c

+ 1
- 1
src/target/stm32_stlink.c View File

@@ -443,7 +443,7 @@ static int stm32_stlink_assert_reset(struct target *target)
}

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);
}



Loading…
Cancel
Save