mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
STM3210e-eval: No such macro as warn(), change to swarn()
This commit is contained in:
@@ -318,9 +318,9 @@ void stm32_pmbuttons(void)
|
||||
|
||||
if (oldhandler != NULL)
|
||||
{
|
||||
warn("WARNING: oldhandler:%p is not NULL! "
|
||||
"Button events may be lost or aliased!\n",
|
||||
oldhandler);
|
||||
swarn("WARNING: oldhandler:%p is not NULL! "
|
||||
"Button events may be lost or aliased!\n",
|
||||
oldhandler);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user