Skip to content

Commit

Permalink
mbed_retarget.cpp: Fixed style
Browse files Browse the repository at this point in the history
  • Loading branch information
mprse committed Feb 1, 2019
1 parent 1fcf413 commit ec86ee1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platform/mbed_retarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,8 @@ extern char Image$$ARM_LIB_STACK$$ZI$$Base[];
#define STACK_BASE (Image$$ARM_LIB_STACK$$ZI$$Base)
#endif

extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3)
{
struct __initial_stackheap r;
r.heap_base = (uint32_t)HEAP_BASE;
r.heap_limit = (uint32_t)HEAP_LIMIT;
Expand Down Expand Up @@ -961,7 +962,7 @@ __asm(".global __use_no_semihosting\n\t");
*/
extern "C" extern __value_in_regs struct __argc_argv $Super$$__rt_lib_init(unsigned heapbase, unsigned heaptop);

extern "C" __value_in_regs struct __argc_argv $Sub$$__rt_lib_init (unsigned heapbase, unsigned heaptop)
extern "C" __value_in_regs struct __argc_argv $Sub$$__rt_lib_init(unsigned heapbase, unsigned heaptop)
{
return $Super$$__rt_lib_init((unsigned)HEAP_BASE, (unsigned)HEAP_LIMIT);
}
Expand Down

0 comments on commit ec86ee1

Please sign in to comment.