forked from Imagelibrary/rtems
Eliminate unused var 'digit'.
This commit is contained in:
@@ -326,7 +326,7 @@ static rtems_status_code disp_hcms29xx_send_to_display
|
|||||||
bool char_avail;
|
bool char_avail;
|
||||||
const struct disp_font_glyph *glyph_ptr;
|
const struct disp_font_glyph *glyph_ptr;
|
||||||
disp_font_t curr_font;
|
disp_font_t curr_font;
|
||||||
int i,digit,ret_cnt;
|
int i, ret_cnt;
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -382,9 +382,6 @@ static rtems_status_code disp_hcms29xx_send_to_display
|
|||||||
glyph_ptr = curr_font->latin1[' '];
|
glyph_ptr = curr_font->latin1[' '];
|
||||||
}
|
}
|
||||||
|
|
||||||
digit = (softc_ptr->disp_param.rotate
|
|
||||||
? DISP_HCMS29XX_DIGIT_CNT-1-i
|
|
||||||
: i);
|
|
||||||
/*
|
/*
|
||||||
* send 5 bytes from (char *)glyph_ptr->bitmap to SPI
|
* send 5 bytes from (char *)glyph_ptr->bitmap to SPI
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user