Jiang Jiang Jian 633cd49f88 Merge branch 'bugfix/detect_ocd_when_panic' into 'master'
Fix OpenOCD detection code

In the current master, detection of an attached OCD is broken. This fixes it.

I also snuck in two unrelated checks in intr_alloc which return from a function that is asserted earlier in the code. This makes the code behave better when they are called erroneously in a production build.

See merge request !377
2017-01-09 13:25:45 +08:00
..
2016-11-23 17:23:21 +08:00
2016-08-17 23:08:22 +08:00
2016-12-19 14:23:39 +08:00
2016-11-23 12:55:49 +08:00
2016-08-17 23:08:22 +08:00