summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Saubier <mail@sylsau.com>2018-04-21 09:32:30 +0200
committerSolomon Peachy <pizza@shaftnet.org>2020-05-24 14:31:15 +0200
commit1224919f3a6a4962165e8756340ce0e88fab01fd (patch)
treee546c71d4c4893581222159e2d8bc1c0c24c3132
parent0769b34a23107c6e82683f72fe38ccea3006fd52 (diff)
downloadrockbox-1224919f3a.tar.gz
rockbox-1224919f3a.tar.bz2
rockbox-1224919f3a.zip
Comment details, typos
Change-Id: I71a283b8e705ad8b9274858bc3cde19d25fc7253
-rw-r--r--apps/main.c6
-rw-r--r--apps/misc.c2
-rw-r--r--firmware/powermgmt.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/main.c b/apps/main.c
index 7d9d859681..208dced923 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -312,7 +312,7 @@ static void init_tagcache(void)
show_logo();
}
}
-#endif
+#endif /* HAVE_TAGCACHE */
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
@@ -409,7 +409,7 @@ static void init(void)
settings_apply_skins();
}
-#else
+#else /* CONFIG_PLATFORM & PLATFORM_HOSTED */
#include "errno.h"
@@ -763,4 +763,4 @@ void cop_main(void)
}
#endif /* CPU_PP */
-#endif /* SIMULATOR */
+#endif /* CONFIG_PLATFORM & PLATFORM_HOSTED */
diff --git a/apps/misc.c b/apps/misc.c
index 501237e616..9a9e428268 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -758,7 +758,7 @@ int show_logo( void )
lcd_clear_display();
#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
- /* display the logo in the blue area of the screen */
+ /* display the logo in the blue area of the screen (bottom 48 pixels) */
lcd_setfont(FONT_SYSFIXED);
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 60565b1573..750f8d5ef4 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -761,7 +761,7 @@ void shutdown_hw(void)
/* Commit pending writes if needed. Even though we don't do write caching,
things like flash translation layers may need this to commit scattered
- pages to there final locations. So far only used for iPod Nano 2G. */
+ pages to their final locations. So far only used for iPod Nano 2G. */
#ifdef HAVE_STORAGE_FLUSH
storage_flush();
#endif