diff --git a/arch/arm/src/lpc17xx/lpc17_allocateheap.c b/arch/arm/src/lpc17xx/lpc17_allocateheap.c index b97c8b055dc..39038742d7e 100644 --- a/arch/arm/src/lpc17xx/lpc17_allocateheap.c +++ b/arch/arm/src/lpc17xx/lpc17_allocateheap.c @@ -407,7 +407,7 @@ void up_addregion(void) else { /* Use the entire SDRAM for heap (possible reserving a portion at - * the beginning of DRAM. + * the beginning of DRAM). */ dram_start = LPC17_EXTDRAM_CS0 + CONFIG_LPC17_EXTDRAMHEAP_OFFSET; diff --git a/graphics/nxbe/nxbe_fill.c b/graphics/nxbe/nxbe_fill.c index f8eb2fbf3e1..5c631584a75 100644 --- a/graphics/nxbe/nxbe_fill.c +++ b/graphics/nxbe/nxbe_fill.c @@ -216,6 +216,6 @@ void nxbe_fill(FAR struct nxbe_window_s *wnd, /* Rend the bitmap directly to the graphics device in any case */ - nxbe_fill_dev(wnd, &remaining, color); + nxbe_fill_dev(wnd, &remaining, color); } } diff --git a/graphics/nxbe/nxbe_setsize.c b/graphics/nxbe/nxbe_setsize.c index f7e77067ecc..86241402a5b 100644 --- a/graphics/nxbe/nxbe_setsize.c +++ b/graphics/nxbe/nxbe_setsize.c @@ -177,7 +177,7 @@ static void nxbe_realloc(FAR struct nxbe_window_s *wnd, { /* Copy valid row data */ - memcpy(src, dest, minstride); + memcpy(dest, src, minstride); /* Pad any extra pixel data on the right (with zeroes?) */