@@ -14,7 +14,7 @@ const uint16_t kBluestarHeavyBitMark = 465;
14
14
const uint16_t kBluestarHeavyHdrSpace = 5058 ;
15
15
const uint16_t kBluestarHeavyOneSpace = 1548 ;
16
16
const uint16_t kBluestarHeavyZeroSpace = 572 ;
17
- const uint16_t kBluestarHeavyFreq = 38000 ;
17
+ const uint16_t kBluestarHeavyFreq = 38000 ;
18
18
const uint16_t kBluestarHeavyOverhead = 3 ;
19
19
20
20
#if SEND_BLUESTARHEAVY
@@ -24,11 +24,13 @@ const uint16_t kBluestarHeavyOverhead = 3;
24
24
// / It is assumed to be in MSB order for this code.
25
25
// / e.g.
26
26
// / @code
27
- // / uint8_t data[kBluestarHeavyStateLength] = {0xD5, 0xFE, 0xD7, 0x4F, 0xFA, 0x5F, 0xFA, 0x5F, 0xFF, 0x7F, 0x5C, 0xFD, 0xDC};
27
+ // / uint8_t data[kBluestarHeavyStateLength] =
28
+ // / {0xD5,0xFE,0xD7,0x4F,0xFA,0x5F,0xFA,0x5F,0xFF,0x7F,0x5C,0xFD,0xDC};
28
29
// / @endcode
29
- // / @param[in] nbytes Nr. of bytes of data in the array. (>=kBluestarHeavyStateLength)
30
+ // / @param[in] nbytes Nr. of bytes of data in the array.
30
31
// / @param[in] repeat Nr. of times the message is to be repeated.
31
- void IRsend::sendBluestarHeavy (const uint8_t data[], const uint16_t nbytes, const uint16_t repeat) {
32
+ void IRsend::sendBluestarHeavy (const uint8_t data[], const uint16_t nbytes,
33
+ const uint16_t repeat) {
32
34
sendGeneric (kBluestarHeavyHdrMark , kBluestarHeavyHdrSpace ,
33
35
kBluestarHeavyBitMark , kBluestarHeavyOneSpace ,
34
36
kBluestarHeavyBitMark , kBluestarHeavyZeroSpace ,
@@ -47,7 +49,8 @@ void IRsend::sendBluestarHeavy(const uint8_t data[], const uint16_t nbytes, cons
47
49
// / @param[in] nbits The number of data bits to expect.
48
50
// / @param[in] strict Flag indicating if we should perform strict matching.
49
51
// / @return A boolean. True if it can decode it, false if it can't.
50
- bool IRrecv::decodeBluestarHeavy (decode_results *results, uint16_t offset, const uint16_t nbits, const bool strict) {
52
+ bool IRrecv::decodeBluestarHeavy (decode_results *results, uint16_t offset,
53
+ const uint16_t nbits, const bool strict) {
51
54
if (strict && nbits != kBluestarHeavyBits )
52
55
return false ;
53
56
0 commit comments