Skip to content

Commit 90609a3

Browse files
committed
increase delay + add an address
1 parent 5a6d100 commit 90609a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrared_controller.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void infrared_controller_send(InfraredController* controller) {
132132

133133
InfraredMessage message = {
134134
.protocol = InfraredProtocolNEC,
135-
.address = 0x00,
135+
.address = 0x42,
136136
.command = (controller->team == TeamRed) ? IR_COMMAND_RED_TEAM : IR_COMMAND_BLUE_TEAM};
137137

138138
FURI_LOG_I(
@@ -161,7 +161,7 @@ bool infrared_controller_receive(InfraredController* controller) {
161161

162162
infrared_worker_rx_start(controller->worker);
163163

164-
furi_delay_ms(50);
164+
furi_delay_ms(250);
165165

166166
infrared_worker_rx_stop(controller->worker);
167167

0 commit comments

Comments
 (0)