Skip to content

Commit fcccbff

Browse files
committed
1 parent ad0425f commit fcccbff

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/IRProtocol.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
************************************************************************************
99
* MIT License
1010
*
11-
* Copyright (c) 2020-2022 Armin Joachimsmeyer
11+
* Copyright (c) 2020-2023 Armin Joachimsmeyer
1212
*
1313
* Permission is hereby granted, free of charge, to any person obtaining a copy
1414
* of this software and associated documentation files (the "Software"), to deal
@@ -91,7 +91,7 @@ struct PulseDistanceWidthProtocolConstants {
9191
* Definitions for member IRData.flags
9292
*/
9393
#define IRDATA_FLAGS_EMPTY 0x00
94-
#define IRDATA_FLAGS_IS_REPEAT 0x01 ///< The gap between the preceding frame is as smaller than the maximum gap expected for a repeat. !!!We do not check for changed command or address!!!
94+
#define IRDATA_FLAGS_IS_REPEAT 0x01 ///< The gap between the preceding frame is as smaller than the maximum gap expected for a repeat. !!!We do not check for changed command or address, because it is almost not possible to press 2 different buttons on the remote within around 100 ms!!!
9595
#define IRDATA_FLAGS_IS_AUTO_REPEAT 0x02 ///< The current repeat frame is a repeat, that is always sent after a regular frame and cannot be avoided. Only specified for protocols DENON, and LEGO.
9696
#define IRDATA_FLAGS_PARITY_FAILED 0x04 ///< The current (autorepeat) frame violated parity check.
9797
#define IRDATA_FLAGS_TOGGLE_BIT 0x08 ///< Is set if RC5 or RC6 toggle bit is set

src/IRReceive.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
************************************************************************************
1010
* MIT License
1111
*
12-
* Copyright (c) 2009-2022 Ken Shirriff, Rafi Khan, Armin Joachimsmeyer
12+
* Copyright (c) 2009-2023 Ken Shirriff, Rafi Khan, Armin Joachimsmeyer
1313
*
1414
* Permission is hereby granted, free of charge, to any person obtaining a copy
1515
* of this software and associated documentation files (the "Software"), to deal

src/IRremoteInt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
************************************************************************************
1010
* MIT License
1111
*
12-
* Copyright (c) 2015-2022 Ken Shirriff http://www.righto.com, Rafi Khan, Armin Joachimsmeyer
12+
* Copyright (c) 2015-20232 Ken Shirriff http://www.righto.com, Rafi Khan, Armin Joachimsmeyer
1313
*
1414
* Permission is hereby granted, free of charge, to any person obtaining a copy
1515
* of this software and associated documentation files (the "Software"), to deal
@@ -499,7 +499,7 @@ class IRsend {
499499
void sendRC6(uint8_t aAddress, uint8_t aCommand, int_fast8_t aNumberOfRepeats, bool aEnableAutomaticToggle = true);
500500
void sendSamsungLGRepeat();
501501
void sendSamsung(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats);
502-
void sendSamsung48(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats);
502+
void sendSamsung48(uint16_t aAddress, uint32_t aCommand, int_fast8_t aNumberOfRepeats);
503503
void sendSamsungLG(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats);
504504
void sendSharp(uint8_t aAddress, uint8_t aCommand, int_fast8_t aNumberOfRepeats); // redirected to sendDenon
505505
void sendSony(uint16_t aAddress, uint8_t aCommand, int_fast8_t aNumberOfRepeats, uint8_t numberOfBits = 12); // SIRCS_12_PROTOCOL

src/ir_Samsung.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
************************************************************************************
99
* MIT License
1010
*
11-
* Copyright (c) 2017-2022 Darryl Smith, Armin Joachimsmeyer
11+
* Copyright (c) 2017-2023 Darryl Smith, Armin Joachimsmeyer
1212
*
1313
* Permission is hereby granted, free of charge, to any person obtaining a copy
1414
* of this software and associated documentation files (the "Software"), to deal
@@ -179,7 +179,7 @@ void IRsend::sendSamsung(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumb
179179
* Here we send Samsung48
180180
* We send 2 x (8 bit command and then ~command)
181181
*/
182-
void IRsend::sendSamsung48(uint16_t aAddress, uint16_t aCommand, int_fast8_t aNumberOfRepeats) {
182+
void IRsend::sendSamsung48(uint16_t aAddress, uint32_t aCommand, int_fast8_t aNumberOfRepeats) {
183183

184184
// send 16 bit address and 2 x ( 8 command bits and then 8 inverted command bits) LSB first
185185
#if __INT_WIDTH__ < 32

0 commit comments

Comments
 (0)