Commit 40f263ae authored by MagoKimbra's avatar MagoKimbra

Merge pull request #7 from simone97/patch-2

Update ultralcd.h
parents 5256f4c8 ea2a3ba5
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
void lcd_reset_alert_level(); void lcd_reset_alert_level();
bool lcd_detected(void); bool lcd_detected(void);
#ifdef DOGLCD #if defined(DOGLCD) && LCD_CONTRAST >= 0
extern int lcd_contrast; extern int lcd_contrast;
void lcd_setcontrast(uint8_t value); void lcd_setcontrast(uint8_t value);
#endif #endif
...@@ -139,3 +139,4 @@ char *ftostr51(const float &x); ...@@ -139,3 +139,4 @@ char *ftostr51(const float &x);
char *ftostr52(const float &x); char *ftostr52(const float &x);
#endif //ULTRALCD_H #endif //ULTRALCD_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment