Skip to content

Commit

Permalink
Fix build issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz committed Dec 23, 2024
1 parent f557f68 commit ec7b6b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/bin_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ typedef BinAllocator<28,400> BinAllocator_slots1;
typedef BinAllocator<92,90> BinAllocator_slots2;
#else
typedef BinAllocator<28,415> BinAllocator_slots1;
typedef BinAllocator<92,100> BinAllocator_slots2;
typedef BinAllocator<92,98> BinAllocator_slots2;
#endif
#else
typedef BinAllocator<28,200> BinAllocator_slots1;
Expand Down
8 changes: 8 additions & 0 deletions radio/src/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,11 @@ extern void _kill(int pid, int sig)
{
return;
}

extern void __assert_func (const char *p1, int p2, const char *p3, const char *p4)
{
asm("BKPT");
#if defined(DEBUG)
while(1);
#endif
}

0 comments on commit ec7b6b1

Please sign in to comment.