aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--config.def.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f38be3a..f5e2862 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ check:
$(ZBARIMG) --raw -q check.png | $(GREP) -e '^http://$(SERVER)/$$'
SERVER_NAME=$(SERVER) HTTP_REFERER=http://$(SERVER)/ \
- QUERY_STRING='scale=10' \
+ QUERY_STRING='scale=20' \
./cqrlogo.cgi | $(SED) '1,/^$$/d' > \
check.png
$(FILE) check.png | $(GREP) 'PNG image data'
@@ -177,7 +177,7 @@ check:
$(ZBARIMG) --raw -q check.png | $(GREP) -e '^http://$(SERVER)/$$'
SERVER_NAME=$(SERVER) HTTP_REFERER=http://$(SERVER)/ \
- QUERY_STRING='scale=10' \
+ QUERY_STRING='scale=20' \
./cqrlogo.fcgi | $(SED) '1,/^$$/d' > \
check.png
$(FILE) check.png | $(GREP) 'PNG image data'
diff --git a/config.def.h b/config.def.h
index a2e8949..1ac13c4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -18,7 +18,7 @@
/* pixels are scaled up by this factor */
#define QRCODE_SCALE 2
/* this is the maximum scale factor */
-#define QRCODE_MAX_SCALE 8
+#define QRCODE_MAX_SCALE 16
/* width of the border
* this is defined to at least 4, but works well with less */