mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 10:18:49 +01:00
thermal_printer bug fix,print_lines8 cfg null check logic bug
This commit is contained in:
parent
1649eb7202
commit
d27d6b31aa
@ -625,12 +625,15 @@ uint8_t print_lines_ft(CONFIG *cfg,int lines,int bf) {
|
||||
}
|
||||
|
||||
uint8_t print_lines8(CONFIG *cfg,int lines,int backforward) {
|
||||
|
||||
|
||||
|
||||
if(lines > 0 && cfg == NULL ){
|
||||
if( cfg == NULL ){
|
||||
if(lines > 0) {
|
||||
ENABLE_VH;
|
||||
feed_pitch1(lines,backforward);
|
||||
feed_pitch1(lines,backforward);
|
||||
DISABLE_VH;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user