summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-09-30 16:11:02 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-09-30 16:11:02 -0400
commit6a0a0cbd2b070efc79bc936b6eea8630dada1f38 (patch)
tree4653d8020855f572257187aa2bf02c313f38d346
parent4ac338a5281bcfc75cd86c9b65b74715a6fdea0b (diff)
downloadselphy_print-6a0a0cbd2b070efc79bc936b6eea8630dada1f38.tar.gz
selphy_print-6a0a0cbd2b070efc79bc936b6eea8630dada1f38.tar.bz2
selphy_print-6a0a0cbd2b070efc79bc936b6eea8630dada1f38.zip
common: We don't need to sleep in PPD messages
-rw-r--r--backend_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_common.h b/backend_common.h
index 7c1353b..f3ca598 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -58,7 +58,7 @@
#define INFO( ... ) do { if (!quiet) fprintf(logger, "INFO: " __VA_ARGS__ ); } while(0)
#define WARNING( ... ) do { fprintf(logger, "WARNING: " __VA_ARGS__ ); } while(0)
#define ERROR( ... ) do { fprintf(logger, "ERROR: " __VA_ARGS__ ); sleep(1); } while (0)
-#define PPD( ... ) do { fprintf(logger, "PPD: " __VA_ARGS__ ); sleep(1); } while (0)
+#define PPD( ... ) do { fprintf(logger, "PPD: " __VA_ARGS__ ); } while (0)
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
#define le16_to_cpu(__x) __x