Skip to content

Commit 4193124

Browse files
committed
fix TCAR_MSEC in NBR14522
1 parent 2d12793 commit 4193124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/NBR14522.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ enum Sinalizador { ENQ = 0x05, ACK = 0x06, NAK = 0x15, WAIT = 0x10 };
205205
constexpr uint32_t BAUDRATE = 9600;
206206

207207
// TCAR (caracter): tempo de transmissão de um caracter (10 bits: 1 start, 8
208-
// dados, 1 stop): 10/9600baud = ~1,042 ms
209-
constexpr uint32_t TCAR_MSEC = 1;
208+
// dados, 1 stop): 10/9600baud = ~10,42 ms
209+
constexpr uint32_t TCAR_MSEC = 10;
210210

211211
// TENTCAR: tempo entre os start bits de dois caracteres consecutivos de um
212212
// mesmo COMANDO ou RESPOSTA TMAXCAR: tempo máximo que TENTCAR pode ter

0 commit comments

Comments
 (0)