Richard Meadows 101821ae31 [Bugfix] stm32f1_probe would always return true, breaking support for all other targets
The intention of `if (t->driver)` conditional was to test if any of the cases in the preceeding switch/case were met. However t->driver was previously set to point to a default value in cortexm.c:200 and therefore this would always evaluate to true. I've replaced the broken if statement with a duplicate of the switch/case run above.

It looks like this was introduced in 09544bc7101981f2688e0a678138dc4580ea3f76 (PR #92) but 492d6c9cf8f735eea5478c99aee43608549218d7 maybe contributes to the confusion in this instance.
2015-07-12 17:32:48 +01:00
2012-10-24 07:34:30 +13:00
2011-02-07 11:01:10 +13:00
2015-03-07 11:03:50 -08:00

See https://github.com/blacksphere/blackmagic/wiki
Description
Rework of Jeff black magic probe
Readme 13 MiB
Languages
C 95.5%
Python 3%
Makefile 1.3%
Assembly 0.2%