mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Using uinfo
This commit is contained in:
@@ -871,7 +871,7 @@ static uint32_t stm32_getreg(uint32_t addr)
|
||||
{
|
||||
if (count == 4)
|
||||
{
|
||||
llerr("...\n");
|
||||
uinfo("...\n");
|
||||
}
|
||||
|
||||
return val;
|
||||
@@ -888,7 +888,7 @@ static uint32_t stm32_getreg(uint32_t addr)
|
||||
{
|
||||
/* Yes.. then show how many times the value repeated */
|
||||
|
||||
llerr("[repeats %d more times]\n", count-3);
|
||||
uinfo("[repeats %d more times]\n", count-3);
|
||||
}
|
||||
|
||||
/* Save the new address, value, and count */
|
||||
@@ -900,7 +900,7 @@ static uint32_t stm32_getreg(uint32_t addr)
|
||||
|
||||
/* Show the register value read */
|
||||
|
||||
llerr("%08x->%08x\n", addr, val);
|
||||
uinfo("%08x->%08x\n", addr, val);
|
||||
return val;
|
||||
}
|
||||
#endif
|
||||
@@ -918,7 +918,7 @@ static void stm32_putreg(uint32_t val, uint32_t addr)
|
||||
{
|
||||
/* Show the register value being written */
|
||||
|
||||
llerr("%08x<-%08x\n", addr, val);
|
||||
uinfo("%08x<-%08x\n", addr, val);
|
||||
|
||||
/* Write the value */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user