summaryrefslogtreecommitdiff
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-1224919f3a6a4962165e8756340ce0e88fab01fd.tar.gz
rockbox-1224919f3a6a4962165e8756340ce0e88fab01fd.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)
312 show_logo(); 312 show_logo();
313 } 313 }
314} 314}
315#endif 315#endif /* HAVE_TAGCACHE */
316 316
317#if (CONFIG_PLATFORM & PLATFORM_HOSTED) 317#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
318 318
@@ -409,7 +409,7 @@ static void init(void)
409 settings_apply_skins(); 409 settings_apply_skins();
410} 410}
411 411
412#else 412#else /* CONFIG_PLATFORM & PLATFORM_HOSTED */
413 413
414#include "errno.h" 414#include "errno.h"
415 415
@@ -763,4 +763,4 @@ void cop_main(void)
763} 763}
764#endif /* CPU_PP */ 764#endif /* CPU_PP */
765 765
766#endif /* SIMULATOR */ 766#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 )
758 758
759 lcd_clear_display(); 759 lcd_clear_display();
760#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS) 760#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
761 /* display the logo in the blue area of the screen */ 761 /* display the logo in the blue area of the screen (bottom 48 pixels) */
762 lcd_setfont(FONT_SYSFIXED); 762 lcd_setfont(FONT_SYSFIXED);
763 lcd_getstringsize((unsigned char *)"A", &font_w, &font_h); 763 lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
764 lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2), 764 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)
761 761
762/* Commit pending writes if needed. Even though we don't do write caching, 762/* Commit pending writes if needed. Even though we don't do write caching,
763 things like flash translation layers may need this to commit scattered 763 things like flash translation layers may need this to commit scattered
764 pages to there final locations. So far only used for iPod Nano 2G. */ 764 pages to their final locations. So far only used for iPod Nano 2G. */
765#ifdef HAVE_STORAGE_FLUSH 765#ifdef HAVE_STORAGE_FLUSH
766 storage_flush(); 766 storage_flush();
767#endif 767#endif