Skip to content

Commit 6b790de

Browse files
committed
revert
1 parent b7569ca commit 6b790de

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lnpos/lnpos.ino

+3-5
Original file line numberDiff line numberDiff line change
@@ -931,9 +931,9 @@ void qrShowCodeln()
931931
qrData.toUpperCase();
932932
const char *qrDataChar = qrData.c_str();
933933
QRCode qrcoded;
934-
uint8_t qrcodeData[qrcode_getBufferSize(32)];
934+
uint8_t qrcodeData[qrcode_getBufferSize(20)];
935935

936-
qrcode_initText(&qrcoded, qrcodeData, 32, 0, qrDataChar);
936+
qrcode_initText(&qrcoded, qrcodeData, 11, 0, qrDataChar);
937937

938938
for (uint8_t y = 0; y < qrcoded.size; y++)
939939
{
@@ -1585,7 +1585,7 @@ bool makeLNURL()
15851585
{
15861586
if (amountToShow.toFloat() <= 0)
15871587
{
1588-
error("ZERO AMOUNT");
1588+
error("ZERO VALUE");
15891589
delay(3000);
15901590
return false;
15911591
}
@@ -1598,8 +1598,6 @@ bool makeLNURL()
15981598

15991599
float total = amountToShow.toFloat() * multipler;
16001600

1601-
//const char* key = "Yq3t6w9z$C&F)J@M";
1602-
16031601
unsigned char iv_init[16];
16041602
unsigned char iv[16];
16051603

0 commit comments

Comments
 (0)