Browse Source

forgot 1 byte prefix

mcspr-patch-1
Maxim Prokhorov 4 years ago
parent
commit
81358d98a3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/rfbridge.cpp

+ 1
- 1
code/espurna/rfbridge.cpp View File

@ -292,7 +292,7 @@ struct RfbMessage {
struct RfbMessage { struct RfbMessage {
using code_type = decltype(std::declval<RCSwitch>().getReceivedValue()); using code_type = decltype(std::declval<RCSwitch>().getReceivedValue());
static constexpr size_t BufferSize = sizeof(code_type) + 4;
static constexpr size_t BufferSize = sizeof(code_type) + 5;
uint8_t protocol; uint8_t protocol;
uint16_t timing; uint16_t timing;


Loading…
Cancel
Save