Update barcode gen

This commit is contained in:
Willy-JL
2023-07-14 03:18:52 +02:00
parent 49fe96247a
commit 00771df0c3
6 changed files with 153 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
#include <furi.h>
#include <furi_hal.h>
#define NUMBER_OF_BARCODE_TYPES 7
#define NUMBER_OF_BARCODE_TYPES 8
typedef enum {
WrongNumberOfDigits, //There is too many or too few digits in the barcode
@@ -22,6 +22,7 @@ typedef enum {
EAN13,
CODE39,
CODE128,
CODE128C,
CODABAR,
UNKNOWN
@@ -51,4 +52,4 @@ void init_types();
void free_types();
BarcodeTypeObj* get_type(FuriString* type_string);
const char* get_error_code_name(ErrorCode error_code);
const char* get_error_code_message(ErrorCode error_code);
const char* get_error_code_message(ErrorCode error_code);