mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-28 14:01:54 +01:00
34 lines
590 B
C
34 lines
590 B
C
|
#include "button.h"
|
||
|
#include "cfg.h"
|
||
|
#include "dd.h"
|
||
|
#include "flashram.h"
|
||
|
#include "fpga.h"
|
||
|
#include "isv.h"
|
||
|
#include "rtc.h"
|
||
|
#include "sd.h"
|
||
|
#include "usb.h"
|
||
|
|
||
|
|
||
|
void gvr_task (void) {
|
||
|
while (fpga_id_get() != FPGA_ID);
|
||
|
|
||
|
button_init();
|
||
|
cfg_init();
|
||
|
dd_init();
|
||
|
flashram_init();
|
||
|
isv_init();
|
||
|
sd_init();
|
||
|
usb_init();
|
||
|
|
||
|
while (1) {
|
||
|
button_process();
|
||
|
cfg_process();
|
||
|
dd_process();
|
||
|
flashram_process();
|
||
|
isv_process();
|
||
|
rtc_process();
|
||
|
sd_process();
|
||
|
usb_process();
|
||
|
}
|
||
|
}
|