1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-10-13 10:54:43 +08:00
parent b2eb94488a
commit 9efda78e30
27 changed files with 2934 additions and 3528 deletions

22
luci-app-ouad/src/Example_Code/example_app.h Normal file → Executable file
View file

@ -1,10 +1,7 @@
#define CENTER 0 // single item display
#define SPLIT 1 // two items
#define CENTER 0 //single item display
#define SPLIT 1 //two items
#define MERGE 2
#define FULL 3
#define KB_BYTES (1024)
#define MB_BYTES (1024 * 1024)
#define GB_BYTES (1024 * 1024 * 1024)
void testdrawline();
void testdrawrect();
@ -19,15 +16,20 @@ void testscrolltext(char *str);
void display_texts();
void display_bitmap();
void display_invert_normal();
void testdrawbitmap(const unsigned char *bitmap, unsigned char w,
unsigned char h);
void testdrawbitmap(const unsigned char *bitmap, unsigned char w, unsigned char h);
void testdrawbitmap_eg();
void deeplyembedded_credits();
void testprintinfo();
void testinfo1();
void testinfo2();
void testdate(int mode, int y);
void testip(int mode, int y, char *ifname);
void testlanip(int mode, int y);
void testvpsip(int mode, int y);
void testcpufreq(int mode, int y);
void testcputemp(int mode, int y);
void testnetspeed(int mode, int y, unsigned long int rx, unsigned long int tx);
void testnetspeed(int mode, int y);
void testintfstatus(int mode, int y);
void testcpu(int y);
char *get_ip_addr(char *ifname);
void display_bitmap_uploaddownload();