diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-14 17:10:08 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-14 17:10:08 +0100 |
commit | dd644cee7bd0584d815fe2c6042e0557a6dc42ec (patch) | |
tree | 9cb36e83812add54574a096b0f8424bd341f0e39 /include/object | |
parent | 08602639c7c3764de5096636dc90cdb18abeedbb (diff) |
ptalog: decrease delay border around barcode output
Diffstat (limited to 'include/object')
-rw-r--r-- | include/object/ptalog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/object/ptalog.h b/include/object/ptalog.h index c3ffdf6..c5caa98 100644 --- a/include/object/ptalog.h +++ b/include/object/ptalog.h @@ -97,7 +97,7 @@ class PTALog { #ifdef PTALOG_GPIO_BAR void startTransition(char const *code, uint8_t code_length) { - arch.sleep_ms(10); + arch.sleep_ms(20); for (uint8_t byte = 0; byte < code_length; byte++) { for (uint16_t mask = 0x01; mask <= 0x80; mask <<= 1) { gpio.write(sync_pin, code[byte] & mask ? 1 : 0); @@ -105,7 +105,7 @@ class PTALog { } } gpio.write(sync_pin, 0); - arch.sleep_ms(10); + arch.sleep_ms(20); } #else inline void startTransition() |