mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix SVN properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19482 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
40ec543052
commit
9da2456c26
10 changed files with 6 additions and 12 deletions
0
bootloader/SOURCES
Executable file → Normal file
0
bootloader/SOURCES
Executable file → Normal file
9
bootloader/ondavx747.c
Executable file → Normal file
9
bootloader/ondavx747.c
Executable file → Normal file
|
@ -29,13 +29,13 @@
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "ata.h"
|
#include "ata.h"
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "storage.h"
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "timefuncs.h"
|
#include "timefuncs.h"
|
||||||
#include "rtc.h"
|
#include "rtc.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "mipsregs.h"
|
#include "mipsregs.h"
|
||||||
|
#include "storage.h"
|
||||||
|
|
||||||
#ifdef ONDA_VX747P
|
#ifdef ONDA_VX747P
|
||||||
#define ONDA_VX747
|
#define ONDA_VX747
|
||||||
|
@ -112,19 +112,14 @@ int main(void)
|
||||||
KNOP(BUTTON_POWER, 3);
|
KNOP(BUTTON_POWER, 3);
|
||||||
lcd_set_foreground(LCD_WHITE);
|
lcd_set_foreground(LCD_WHITE);
|
||||||
if(button_hold())
|
if(button_hold())
|
||||||
{
|
|
||||||
printf("BUTTON_HOLD");
|
printf("BUTTON_HOLD");
|
||||||
asm("break 0x7");
|
|
||||||
}
|
|
||||||
if(btn & BUTTON_POWER)
|
if(btn & BUTTON_POWER)
|
||||||
{
|
|
||||||
power_off();
|
power_off();
|
||||||
}
|
|
||||||
#ifdef ONDA_VX747
|
#ifdef ONDA_VX747
|
||||||
if(btn & BUTTON_TOUCH)
|
if(btn & BUTTON_TOUCH)
|
||||||
{
|
{
|
||||||
lcd_set_foreground(LCD_RGBPACK(touch & 0xFF, (touch >> 8)&0xFF, (touch >> 16)&0xFF));
|
lcd_set_foreground(LCD_RGBPACK(touch & 0xFF, (touch >> 8)&0xFF, (touch >> 16)&0xFF));
|
||||||
lcd_fillrect((touch>>16)-10, (touch&0xFFFF)-5, 10, 10);
|
lcd_fillrect((touch>>16)-5, (touch&0xFFFF)-5, 5, 5);
|
||||||
lcd_update();
|
lcd_update();
|
||||||
lcd_set_foreground(LCD_WHITE);
|
lcd_set_foreground(LCD_WHITE);
|
||||||
}
|
}
|
||||||
|
|
0
docs/CREDITS
Executable file → Normal file
0
docs/CREDITS
Executable file → Normal file
0
firmware/SOURCES
Executable file → Normal file
0
firmware/SOURCES
Executable file → Normal file
0
firmware/export/config-ondavx747.h
Executable file → Normal file
0
firmware/export/config-ondavx747.h
Executable file → Normal file
0
firmware/export/config-ondavx747p.h
Executable file → Normal file
0
firmware/export/config-ondavx747p.h
Executable file → Normal file
0
firmware/export/config-ondavx767.h
Executable file → Normal file
0
firmware/export/config-ondavx767.h
Executable file → Normal file
0
firmware/export/config.h
Executable file → Normal file
0
firmware/export/config.h
Executable file → Normal file
9
firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
Executable file → Normal file
9
firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
Executable file → Normal file
|
@ -115,7 +115,7 @@ unsigned int battery_adc_voltage(void)
|
||||||
bat_val = 0;
|
bat_val = 0;
|
||||||
REG_SADC_ENA |= SADC_ENA_PBATEN;
|
REG_SADC_ENA |= SADC_ENA_PBATEN;
|
||||||
|
|
||||||
/* Primitive wakeup event */
|
/* primitive wakeup event */
|
||||||
while(bat_val == 0)
|
while(bat_val == 0)
|
||||||
yield();
|
yield();
|
||||||
|
|
||||||
|
@ -256,6 +256,7 @@ void SADC(void)
|
||||||
REG_SADC_CTRL |= (SADC_CTRL_PENDM);
|
REG_SADC_CTRL |= (SADC_CTRL_PENDM);
|
||||||
pen_down = true;
|
pen_down = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state & SADC_CTRL_PENUM)
|
if(state & SADC_CTRL_PENUM)
|
||||||
{
|
{
|
||||||
/* Pen up IRQ */
|
/* Pen up IRQ */
|
||||||
|
@ -265,6 +266,7 @@ void SADC(void)
|
||||||
datacount = 0;
|
datacount = 0;
|
||||||
cur_touch = 0;
|
cur_touch = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state & SADC_CTRL_TSRDYM)
|
if(state & SADC_CTRL_TSRDYM)
|
||||||
{
|
{
|
||||||
unsigned int dat;
|
unsigned int dat;
|
||||||
|
@ -306,13 +308,10 @@ void SADC(void)
|
||||||
datacount = 0;
|
datacount = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state & SADC_CTRL_PBATRDYM)
|
if(state & SADC_CTRL_PBATRDYM)
|
||||||
{
|
{
|
||||||
bat_val = REG_SADC_BATDAT;
|
bat_val = REG_SADC_BATDAT;
|
||||||
/* Battery AD IRQ */
|
/* Battery AD IRQ */
|
||||||
}
|
}
|
||||||
if(state & SADC_CTRL_SRDYM)
|
|
||||||
{
|
|
||||||
/* SADC AD IRQ */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
0
firmware/target/mips/ingenic_jz47xx/onda_vx767/usb-target.h
Executable file → Normal file
0
firmware/target/mips/ingenic_jz47xx/onda_vx767/usb-target.h
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue