mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-13 10:48:49 +01:00
change the paper detecting status to LOW
This commit is contained in:
parent
fc8c648512
commit
065841830e
@ -57,7 +57,7 @@ uint8_t IsPaper()
|
|||||||
|
|
||||||
if( millis() - printer_vps_time > 10) {
|
if( millis() - printer_vps_time > 10) {
|
||||||
ENABLE_PEM;
|
ENABLE_PEM;
|
||||||
if(ASK4PAPER==HIGH) // * temporary set,LOW is what we want**
|
if(ASK4PAPER==LOW) // * LOW is what we want**
|
||||||
{status = IS_PAPER;}
|
{status = IS_PAPER;}
|
||||||
else
|
else
|
||||||
{status = NO_PAPER;printf("Error:NO PAPER\n");}
|
{status = NO_PAPER;printf("Error:NO PAPER\n");}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user