mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
arch: cxd56xx: charger: Use the dedicated debug macro
Replace to the battery dedicated debug macro instead of standard one.
This commit is contained in:
@@ -672,7 +672,7 @@ int cxd56_charger_initialize(FAR const char *devpath)
|
||||
ret = register_driver(devpath, &g_chargerops, 0666, priv);
|
||||
if (ret < 0)
|
||||
{
|
||||
_err("ERROR: register_driver failed: %d\n", ret);
|
||||
baterr("ERROR: register_driver failed: %d\n", ret);
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user