Merge pull request #25 from mbolivar/arduino-101-conf

arm fixes from x86 changes
This commit is contained in:
David Brown 2017-03-16 13:22:35 -06:00 committed by GitHub
commit ff4658e44f
2 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ static void do_boot(struct boot_rsp *rsp)
* consecutively. Manually set the stack pointer and jump into the
* reset vector
*/
vt = (struct vector_table *)(rsp->br_image_addr +
rsp->br_hdr->ih_hdr_size);
vt = (struct arm_vector_table *)(rsp->br_image_addr +
rsp->br_hdr->ih_hdr_size);
irq_lock();
_MspSet(vt->msp);
((void (*)(void))vt->reset)();