use sequences, but bake them before sending. required for shorter signal sequences, causing higher setup time

This commit is contained in:
g3gg0
2022-11-22 02:11:09 +01:00
parent 116528f871
commit 021695b2a3
3 changed files with 6 additions and 2 deletions

View File

@@ -352,7 +352,7 @@ bool digital_sequence_send(DigitalSequence* sequence, const GpioPin* gpio) {
//gpio = &gpio_ext_pb2;
furi_hal_gpio_init(gpio, GpioModeOutputPushPull, GpioPullNo, GpioSpeedVeryHigh);
if(true) {
if(sequence->bake) {
DigitalSignal* sig = digital_sequence_bake(sequence);
digital_signal_send(sig, gpio);