arch/arm/src/sama5/sam_lcd.c: Fix a syslog format
This commit is contained in:
parent
4c3d8e7429
commit
05bf54fdbc
@ -48,6 +48,7 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -3082,8 +3083,8 @@ void sam_lcdclear(nxgl_mxpixel_t color)
|
|||||||
uint16_t *dest = (uint16_t *)LAYER_BASE.framebuffer;
|
uint16_t *dest = (uint16_t *)LAYER_BASE.framebuffer;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
lcdinfo("Clearing display: BPP=16 color=%04x framebuffer=%08x size=%d\n",
|
lcdinfo("Clearing display: BPP=16 color=%04jx framebuffer=%p size=%d\n",
|
||||||
color, LAYER_BASE.framebuffer, SAMA5_BASE_FBSIZE);
|
(intmax_t)color, LAYER_BASE.framebuffer, SAMA5_BASE_FBSIZE);
|
||||||
|
|
||||||
for (i = 0; i < SAMA5_BASE_FBSIZE; i += sizeof(uint16_t))
|
for (i = 0; i < SAMA5_BASE_FBSIZE; i += sizeof(uint16_t))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user