sam3n: use linker script for flash, not for ram
[bertos.git] / bertos / drv / lcd_ili9225.c
index 5594dc969e11fe253d6a8462286ea2ea5dca0033..d8fbdfdc5ed8771447dc391ab8c316defe392a16 100644 (file)
@@ -252,33 +252,6 @@ static void lcd_reset(void)
        timer_delay(50);
 }
 
-/**
- * Set display backlight intensity.
- */
-void lcd_ili9225_backlight(unsigned level)
-{
-    unsigned i;
-
-    if (level > LCD_BACKLIGHT_MAX)
-           level = LCD_BACKLIGHT_MAX;
-
-    // Switch off backlight
-    LCD_BACKLIGHT_LOW();
-    timer_delay(1);
-
-    // Set new level
-    for (i = 0; i <= level; i++)
-    {
-           LCD_BACKLIGHT_LOW();
-           LCD_BACKLIGHT_LOW();
-           LCD_BACKLIGHT_LOW();
-
-           LCD_BACKLIGHT_HIGH();
-           LCD_BACKLIGHT_HIGH();
-           LCD_BACKLIGHT_HIGH();
-    }
-}
-
 /**
  * Display initialization.
  */