Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
egueli committed Jan 25, 2020
1 parent b94e4d4 commit 612deef
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/IRrecv_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ TEST(TestMatchGeneric, NormalWithNoAtleast) {
IRrecv irrecv(1);
irsend.begin();

uint16_t good_entries_trailing_space = 12;
const uint16_t good_entries_trailing_space = 12;
uint16_t good_trailing_space_data[good_entries_trailing_space] = {
8000, // Header mark
4000, // Header space
Expand All @@ -576,7 +576,7 @@ TEST(TestMatchGeneric, NormalWithNoAtleast) {
3000, // Footer mark
15000}; // Footer space

uint16_t good_entries_no_trailing_space = 11;
const uint16_t good_entries_no_trailing_space = 11;
uint16_t good_no_trailing_space_data[good_entries_no_trailing_space] = {
8000, // Header mark
4000, // Header space
Expand Down Expand Up @@ -655,7 +655,7 @@ TEST(TestMatchGeneric, NormalWithAtleast) {
IRrecv irrecv(1);
irsend.begin();

uint16_t good_entries_trailing_space = 12;
const uint16_t good_entries_trailing_space = 12;
uint16_t good_trailing_space_data[good_entries_trailing_space] = {
8000, // Header mark
4000, // Header space
Expand All @@ -666,7 +666,7 @@ TEST(TestMatchGeneric, NormalWithAtleast) {
3000, // Footer mark
15000}; // Footer space

uint16_t good_entries_no_trailing_space = 11;
const uint16_t good_entries_no_trailing_space = 11;
uint16_t good_no_trailing_space_data[good_entries_no_trailing_space] = {
8000, // Header mark
4000, // Header space
Expand Down Expand Up @@ -784,7 +784,7 @@ TEST(TestMatchGeneric, FailureCases) {
IRrecv irrecv(1);
irsend.begin();

uint16_t entries = 11;
const uint16_t entries = 11;
uint16_t data[entries] = {
8000, // Header mark
4000, // Header space
Expand Down Expand Up @@ -942,7 +942,7 @@ TEST(TestMatchGeneric, MissingHeaderFooter) {
IRrecv irrecv(1);
irsend.begin();

uint16_t entries = 11;
const uint16_t entries = 11;
uint16_t data[entries] = {
8000, // Header mark
4000, // Header space
Expand Down Expand Up @@ -1018,7 +1018,7 @@ TEST(TestMatchGeneric, BitOrdering) {
IRrecv irrecv(1);
irsend.begin();

uint16_t entries = 11;
const uint16_t entries = 11;
uint16_t data[entries] = {
8000, // Header mark
4000, // Header space
Expand Down Expand Up @@ -1078,7 +1078,7 @@ TEST(TestMatchGeneric, UsingBytes) {
IRrecv irrecv(1);
irsend.begin();

uint16_t entries = 32;
const uint16_t entries = 32;
uint16_t data[entries] = {
// No header
500, 2000, // Byte #0 Bit #0 (1)
Expand Down

0 comments on commit 612deef

Please sign in to comment.