1.1 --- a/stage2/tasks/example.c Mon Oct 03 22:23:50 2016 +0200
1.2 +++ b/stage2/tasks/example.c Mon Oct 03 22:24:04 2016 +0200
1.3 @@ -1,5 +1,5 @@
1.4 /*
1.5 - * Example tasks.
1.6 + * Example screen-updating task.
1.7 *
1.8 * Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 @@ -35,22 +35,6 @@
1.11 }
1.12 }
1.13
1.14 -void plot_value(u32 value)
1.15 -{
1.16 - unsigned short x, y;
1.17 -
1.18 - while (1)
1.19 - {
1.20 - for (y = 0; y < panel_info.vl_row; y++)
1.21 - {
1.22 - for (x = 0; x < panel_info.vl_col; x++)
1.23 - {
1.24 - set_pixel(x, y, get_bitmap_value(x, value));
1.25 - }
1.26 - }
1.27 - }
1.28 -}
1.29 -
1.30 /* Tasks. */
1.31
1.32 void plot_pattern(unsigned short pixel_type, unsigned short x, unsigned short y)