BUGfix: Only clear MCUCSR register when bootLoaderCondition()
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Tue, 10 Sep 2013 13:49:29 +0000 (15:49 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Tue, 10 Sep 2013 13:57:01 +0000 (13:57 +0000)
commit4c35c3b6d7988c8f7ff5d33c4df608cfd7b85442
tree271dbeb4867abea8f32d40e35815a69756bf2fc1
parentfdd80449610db4cccc152e17b04cdb51de578a61
BUGfix: Only clear MCUCSR register when bootLoaderCondition()

If bootLoaderCondition() is false, the users firmware must
be started transparently - so leave the register for it to read!

Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/bootloaderconfig.h
firmware/main.c