drivers: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei
2022-07-13 14:34:54 -03:00
committed by Xiang Xiao
parent e24621d545
commit e999708b31
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ static int onewire_pm_prepare(FAR struct pm_callback_s *cb, int domain,
if (nxsem_get_value(&master->devsem.sem, &sval) < 0)
{
DEBUGASSERT(false);
DEBUGPANIC();
return -EINVAL;
}