# HG changeset patch # User Paul Boddie # Date 1475526244 -7200 # Node ID a59756f80c0a8e3c5ecd57c34fea83e76c2e6b81 # Parent ab28102ff65b076dd78877dfb93344c0e15a684d Removed redundant code. diff -r ab28102ff65b -r a59756f80c0a stage2/tasks/example.c --- a/stage2/tasks/example.c Mon Oct 03 22:23:50 2016 +0200 +++ b/stage2/tasks/example.c Mon Oct 03 22:24:04 2016 +0200 @@ -1,5 +1,5 @@ /* - * Example tasks. + * Example screen-updating task. * * Copyright (C) 2015, 2016 Paul Boddie * @@ -35,22 +35,6 @@ } } -void plot_value(u32 value) -{ - unsigned short x, y; - - while (1) - { - for (y = 0; y < panel_info.vl_row; y++) - { - for (x = 0; x < panel_info.vl_col; x++) - { - set_pixel(x, y, get_bitmap_value(x, value)); - } - } - } -} - /* Tasks. */ void plot_pattern(unsigned short pixel_type, unsigned short x, unsigned short y)