mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Various minor fixes for Samsung YH* targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27751 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b312283b9c
commit
82a2cdb2ad
5 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include "stdlib.h"
|
||||
#include "string.h"
|
||||
#include "debug.h"
|
||||
#include "filefuncs.h"
|
||||
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
/* returns on which volume this is, and copies the reduced name
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ int rtc_write_datetime(const struct tm *tm)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#ifdef HAVE_RTC_ALARM
|
||||
void rtc_set_alarm(int h, int m)
|
||||
{
|
||||
unsigned char buf[4] = {0};
|
||||
|
|
@ -222,4 +223,5 @@ bool rtc_check_alarm_flag(void)
|
|||
|
||||
return (tmp & RTC_AF);
|
||||
}
|
||||
#endif /* HAVE_RTC_ALARM */
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "system.h"
|
||||
#include "backlight.h"
|
||||
#include "backlight-target.h"
|
||||
#include "lcd.h"
|
||||
|
||||
void _backlight_on(void)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "system.h"
|
||||
#include "backlight.h"
|
||||
#include "backlight-target.h"
|
||||
#include "lcd.h"
|
||||
|
||||
void _backlight_on(void)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "system.h"
|
||||
#include "backlight.h"
|
||||
#include "backlight-target.h"
|
||||
#include "lcd.h"
|
||||
|
||||
void _backlight_on(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue