STM3210e-eval: No such macro as warn(), change to swarn()

This commit is contained in:
Gregory Nutt 2016-06-30 17:42:20 -06:00
parent 5b6fafb3f5
commit 0f0258c922

View File

@ -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