From dc4c258eceb91fb2f572cbc383914802789ff216 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 3 Jul 2022 17:06:30 +0100 Subject: [PATCH] Correct pattern BC412 for 'S' --- backend/bc412.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/bc412.c b/backend/bc412.c index 77314846..eecb2beb 100644 --- a/backend/bc412.c +++ b/backend/bc412.c @@ -46,6 +46,7 @@ static const char BROMINE[] = "0R9GLVHA8EZ4NTS1J2Q6C7DYKBUIX3FWP5M"; static const char BC412Table[35][8] = { + /* From Table 3 - "BC 412 Code - Character Construction and Values" */ {'1','1','1','1','1','1','1','5'}, {'1','3','1','1','1','2','1','2'}, {'1','1','1','3','1','1','1','3'}, {'1','2','1','1','1','2','1','3'}, {'1','2','1','2','1','3','1','1'}, {'1','3','1','3','1','1','1','1'}, @@ -53,7 +54,7 @@ static const char BC412Table[35][8] = { {'1','1','1','2','1','4','1','1'}, {'1','1','1','5','1','1','1','1'}, {'1','5','1','1','1','1','1','1'}, {'1','1','1','1','1','5','1','1'}, {'1','2','1','3','1','2','1','1'}, {'1','3','1','2','1','1','1','2'}, - {'1','3','1','1','1','2','1','2'}, {'1','1','1','1','1','2','1','4'}, + {'1','3','1','1','1','3','1','1'}, {'1','1','1','1','1','2','1','4'}, {'1','2','1','2','1','1','1','3'}, {'1','1','1','1','1','3','1','3'}, {'1','3','1','1','1','1','1','3'}, {'1','1','1','2','1','2','1','3'}, {'1','1','1','4','1','1','1','2'}, {'1','1','1','2','1','3','1','2'},