Functions for drawing horizontal lines may not have an int8_t width argument or the max size will be 127 when 128 is needed.

This commit is contained in:
bsongis
2012-01-05 17:59:54 +00:00
parent 29cc8a3529
commit 5fbec8a513
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ extern void putsTelemetry(uint8_t x, uint8_t y, uint8_t val, uint8_t unit, uint8
#endif
extern void lcd_plot(unsigned char x, unsigned char y, uint8_t att=0);
extern void lcd_hline(unsigned char x, unsigned char y, int8_t w, uint8_t att=0);
extern void lcd_hlineStip(int8_t x, uint8_t y, int8_t w, uint8_t pat, uint8_t att=0);
extern void lcd_hline(unsigned char x, unsigned char y, uint8_t w, uint8_t att=0);
extern void lcd_hlineStip(int8_t x, uint8_t y, uint8_t w, uint8_t pat, uint8_t att=0);
extern void lcd_vline(uint8_t x, int8_t y, int8_t h);
extern void lcd_vlineStip(uint8_t x, int8_t y, int8_t h, uint8_t pat);