Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1170 → Rev 1169

/demos/trunk/bttvdemo/bttv.c
139,14 → 139,6
int main(int argc, char **argv)
{
 
int channel = 0;
if (argc < 2) {
channel = 0;
} else {
channel = atoi(argv[1]);
}
sys_atrunlevel(program_end,NULL, RUNLEVEL_BEFORE_EXIT);
{
162,7 → 154,7
 
sleep(1);
FG_init(FG_PERIOD, FG_WCET, FG_W, FG_H, color, channel);
FG_init(FG_PERIOD, FG_WCET, FG_W, FG_H, color, 0);
 
FG_set_hook(elaborate_image);