From 01d5b3bbcec642faeb0e9bf72345efa4ca411f71 Mon Sep 17 00:00:00 2001
From: aleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Wed, 13 Apr 2011 12:54:52 +0000
Subject: [PATCH] Fix type

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4857 38d2e660-2303-0410-9eaa-f027e97ec537
---
 boards/sam3x-ek/examples/sam3x-ek_display/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/sam3x-ek/examples/sam3x-ek_display/main.c b/boards/sam3x-ek/examples/sam3x-ek_display/main.c
index c7122893..ad6a8978 100644
--- a/boards/sam3x-ek/examples/sam3x-ek_display/main.c
+++ b/boards/sam3x-ek/examples/sam3x-ek_display/main.c
@@ -325,7 +325,7 @@ static void read_adc(Bitmap *bm)
 		uint16_t temp = hw_convertToDegree (adc_read(ADC_TEMPERATURE_CH));
 
 		text_xprintf(lcd_bitmap, 2, 0, TEXT_FILL | TEXT_CENTER,
-									"Volage on VR1: %d.%dV", value / 1000, value % 1000);
+									"Voltage on VR1: %d.%dV", value / 1000, value % 1000);
 		text_xprintf(lcd_bitmap, 3, 0, TEXT_FILL | TEXT_CENTER,
 									"CPU temperature: %d.%dC", temp / 10, temp % 10);
 		lcd_hx8347_blitBitmap(bm);
@@ -345,8 +345,8 @@ static struct MenuItem main_items[] =
 	{ (const_iptr_t)"Scheduling test", 0, (MenuHook)context_switch_test, NULL },
 	{ (const_iptr_t)"Show uptime", 0, (MenuHook)uptime, NULL },
 	{ (const_iptr_t)"Display brightness", 0, (MenuHook)setBrightness, NULL },
+	{ (const_iptr_t)"ADC demo", 0, (MenuHook)read_adc, NULL },
 	{ (const_iptr_t)"Reboot", 0, (MenuHook)soft_reset, NULL },
-	{ (const_iptr_t)"Read ADC value", 0, (MenuHook)read_adc, NULL },
 	{ (const_iptr_t)0, 0, NULL, (iptr_t)0 }
 };
 static struct Menu main_menu = { main_items, "BeRTOS", MF_STICKY | MF_SAVESEL, NULL, 0, lcd_hx8347_blitBitmap };
-- 
2.25.1