Fixes #1241 - Revert "Bootloader now accessible with left OR right trim inwards"

This reverts commit 54447a45a0.
This commit is contained in:
bsongis
2014-06-10 14:53:24 +02:00
parent 72dc022dc9
commit e50d9c0edf
+3 -1
View File
@@ -100,7 +100,8 @@ void _bootStart()
bwdt_reset(); bwdt_reset();
} }
if (((GPIOC->IDR & 0x00000002) == 0) || ((GPIOE->IDR & 0x00000008) == 0)) { if ((GPIOE->IDR & 0x00000008) == 0) {
if ((GPIOC->IDR & 0x00000002) == 0) {
// Bootloader needed // Bootloader needed
const uint8_t *src; const uint8_t *src;
uint8_t *dest; uint8_t *dest;
@@ -123,6 +124,7 @@ void _bootStart()
((void (*)(void)) (address))(); // Go execute the loaded application ((void (*)(void)) (address))(); // Go execute the loaded application
} }
}
// run_application() ; // run_application() ;
asm(" mov.w r1, #134217728"); asm(" mov.w r1, #134217728");