From 882adb2c82f4f82ab4844dabac2e4eecd6492a28 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 17 Sep 2017 14:07:08 -0600 Subject: [PATCH] drivers/video/fb.c: Fix a typo introduced in previous commit. --- arch/arm/src/stm32/stm32_allocateheap.c | 4 ---- drivers/video/fb.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/src/stm32/stm32_allocateheap.c b/arch/arm/src/stm32/stm32_allocateheap.c index fcf53ea329..9dbd2b594b 100644 --- a/arch/arm/src/stm32/stm32_allocateheap.c +++ b/arch/arm/src/stm32/stm32_allocateheap.c @@ -498,10 +498,6 @@ # endif #endif -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/drivers/video/fb.c b/drivers/video/fb.c index dd7217759e..183de51c0f 100644 --- a/drivers/video/fb.c +++ b/drivers/video/fb.c @@ -415,7 +415,7 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg) ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo); if (ret >= 0) { - nx_notify_rectangle(((FAR NX_PLANEINFOTYPE *)&pinfo, rect); + nx_notify_rectangle((FAR NX_PLANEINFOTYPE *)&pinfo, rect); } } break;