arch/arm/src/stm32/stm32_qencoder.c: print uint32_t by using standard format PRIx32
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
b87333bae8
commit
4985f47155
@ -28,6 +28,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/irq.h>
|
#include <nuttx/irq.h>
|
||||||
@ -1039,7 +1040,9 @@ static int stm32_shutdown(FAR struct qe_lowerhalf_s *lower)
|
|||||||
putreg32(regval, regaddr);
|
putreg32(regval, regaddr);
|
||||||
leave_critical_section(flags);
|
leave_critical_section(flags);
|
||||||
|
|
||||||
sninfo("regaddr: %08x resetbit: %08x\n", regaddr, resetbit);
|
sninfo("regaddr: %08" PRIx32 " resetbit: %08" PRIx32 "\n",
|
||||||
|
regaddr, resetbit);
|
||||||
|
|
||||||
stm32_dumpregs(priv, "After stop");
|
stm32_dumpregs(priv, "After stop");
|
||||||
|
|
||||||
/* Disable clocking to the timer */
|
/* Disable clocking to the timer */
|
||||||
|
Loading…
Reference in New Issue
Block a user