1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[xburst] metronomefb: Add rotation support and some minor cleanups

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20128 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars
2010-03-11 00:29:21 +00:00
parent c44117cefd
commit 345d039b28
2 changed files with 217 additions and 99 deletions

View File

@@ -17,7 +17,9 @@ struct metromem_cmd {
u16 opcode;
u16 args[((64-2)/2)];
u16 csum;
} __attribute__(packed);
} __attribute__((packed));
struct epd_frame;
/* struct used by metronome. board specific stuff comes from *board */
struct metronomefb_par {
@@ -38,9 +40,13 @@ struct metronomefb_par {
int current_wf_temp;
unsigned int manual_refresh_threshold;
unsigned int partial_autorefresh_interval;
int dt;
const struct epd_frame *epd_frame;
u32 *fxbuckets;
u32 *fybuckets;
unsigned int partial_updates_count;
unsigned is_first_update:1;
struct mutex lock;
};