Skip to content

Commit

Permalink
WIP why do we need to link to _sbrk_r?
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Jan 13, 2024
1 parent 9a8ca29 commit 87a6802
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/generic/usbfatfs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ initializeFatFs()
f_mount(NULL, "", 1);
}

/// WHYYYY DO WE NEED THIS????
modm_extern_c void *
_sbrk_r(struct _reent *, ptrdiff_t)
{
return NULL;
}

// ----------------------------------------------------------------------------
int
main()
Expand Down

0 comments on commit 87a6802

Please sign in to comment.