NanoPayload

Change of stage2/example.c

168:ea7d1e467f74
stage2/example.c
     1.1 --- a/stage2/example.c	Sun Apr 24 22:23:14 2016 +0200
     1.2 +++ b/stage2/example.c	Sun Apr 24 22:41:55 2016 +0200
     1.3 @@ -37,7 +37,7 @@
     1.4  
     1.5  void plot_value(u32 value)
     1.6  {
     1.7 -	unsigned short x, y, on = 1;
     1.8 +	unsigned short x, y;
     1.9  
    1.10  	while (1)
    1.11  	{
    1.12 @@ -45,11 +45,9 @@
    1.13  		{
    1.14  			for (x = 0; x < panel_info.vl_col; x++)
    1.15  			{
    1.16 -				set_pixel(x, y, on ? get_bitmap_value(x, value) : 0);
    1.17 +				set_pixel(x, y, get_bitmap_value(x, value));
    1.18  			}
    1.19  		}
    1.20 -		udelay(on ? 500000 : 100000);
    1.21 -		on = 1 - on;
    1.22  	}
    1.23  }
    1.24