Browse Source

Merge branch 'v1.6.0' of github.com:sidoh/esp8266_milight_hub into state_persistence

Chris Mullins 8 years ago
parent
commit
93e05cb13d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/MiLight/V2RFEncoding.cpp

+ 1 - 1
lib/MiLight/V2RFEncoding.cpp

@@ -1,7 +1,7 @@
 #include <V2RFEncoding.h>
 #include <V2RFEncoding.h>
 
 
 #define V2_OFFSET(byte, key, jumpStart) ( \
 #define V2_OFFSET(byte, key, jumpStart) ( \
-  pgm_read_byte(&V2_OFFSETS[byte-1][key%4]) \
+  V2_OFFSETS[byte-1][key%4] \
     + \
     + \
   ((jumpStart > 0 && key >= jumpStart && key < jumpStart+0x80) ? 0x80 : 0) \
   ((jumpStart > 0 && key >= jumpStart && key < jumpStart+0x80) ? 0x80 : 0) \
 )
 )