aboutsummaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorRichard Meadows2015-07-12 17:30:18 +0100
committerRichard Meadows2015-07-12 17:32:48 +0100
commit101821ae318597d934fe5f9b8723d032f05a5a5b (patch)
tree29b8dedf6d27ffea41b9c8ac823a73509965bc2b /HACKING
parent762e54060ff6004f60eab175378c6f0f6e138418 (diff)
[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.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions