mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 19:00:35 +08:00
LPC11C24: Added abort() stub
This commit is contained in:
@@ -129,6 +129,11 @@ void __cxa_pure_virtual()
|
||||
extern "C"
|
||||
{
|
||||
|
||||
void abort()
|
||||
{
|
||||
while (true) { }
|
||||
}
|
||||
|
||||
int _read_r(struct _reent*, int, char*, int)
|
||||
{
|
||||
return -1;
|
||||
@@ -166,8 +171,7 @@ int _isatty_r(struct _reent*, int)
|
||||
|
||||
void _exit(int)
|
||||
{
|
||||
std::abort();
|
||||
while (1) { }
|
||||
abort();
|
||||
}
|
||||
|
||||
pid_t _getpid(void)
|
||||
|
||||
Reference in New Issue
Block a user