From 065841830e3a69d72cd9755e8e8006a642e8ac3e Mon Sep 17 00:00:00 2001 From: cuu Date: Mon, 19 Apr 2021 21:30:19 +0800 Subject: [PATCH] change the paper detecting status to LOW --- Code/thermal_printer/printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/thermal_printer/printer.c b/Code/thermal_printer/printer.c index c56cd04..4b49ed7 100644 --- a/Code/thermal_printer/printer.c +++ b/Code/thermal_printer/printer.c @@ -57,7 +57,7 @@ uint8_t IsPaper() if( millis() - printer_vps_time > 10) { ENABLE_PEM; - if(ASK4PAPER==HIGH) // * temporary set,LOW is what we want** + if(ASK4PAPER==LOW) // * LOW is what we want** {status = IS_PAPER;} else {status = NO_PAPER;printf("Error:NO PAPER\n");}