Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
Update IRremote.cpp
Browse files Browse the repository at this point in the history
very minor changes
  • Loading branch information
ElectricRCAircraftGuy committed Jan 24, 2016
1 parent b226283 commit a4b6db2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions IRremote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ int MATCH (int measured, int desired)

bool passed = ((measured >= TICKS_LOW(desired)) && (measured <= TICKS_HIGH(desired)));
if (passed)
DBG_PRINTLN(F("; passed"));
DBG_PRINTLN(F("?; passed"));
else
DBG_PRINTLN(F("; FAILED"));
DBG_PRINTLN(F("?; FAILED"));
return passed;
}

Expand All @@ -65,7 +65,7 @@ int MATCH_MARK (int measured_ticks, int desired_us)
DBG_PRINT(measured_ticks * USECPERTICK, DEC);
DBG_PRINT(F("us vs "));
DBG_PRINT(desired_us, DEC);
DBG_PRINT("us");
DBG_PRINT("us");
DBG_PRINT(": ");
DBG_PRINT(TICKS_LOW(desired_us + MARK_EXCESS) * USECPERTICK, DEC);
DBG_PRINT(F(" <= "));
Expand All @@ -76,9 +76,9 @@ int MATCH_MARK (int measured_ticks, int desired_us)
bool passed = ((measured_ticks >= TICKS_LOW (desired_us + MARK_EXCESS))
&& (measured_ticks <= TICKS_HIGH(desired_us + MARK_EXCESS)));
if (passed)
DBG_PRINTLN(F("; passed"));
DBG_PRINTLN(F("?; passed"));
else
DBG_PRINTLN(F("; FAILED"));
DBG_PRINTLN(F("?; FAILED"));
return passed;
}

Expand All @@ -91,7 +91,7 @@ int MATCH_SPACE (int measured_ticks, int desired_us)
DBG_PRINT(measured_ticks * USECPERTICK, DEC);
DBG_PRINT(F("us vs "));
DBG_PRINT(desired_us, DEC);
DBG_PRINT("us");
DBG_PRINT("us");
DBG_PRINT(": ");
DBG_PRINT(TICKS_LOW(desired_us - MARK_EXCESS) * USECPERTICK, DEC);
DBG_PRINT(F(" <= "));
Expand All @@ -102,9 +102,9 @@ int MATCH_SPACE (int measured_ticks, int desired_us)
bool passed = ((measured_ticks >= TICKS_LOW (desired_us - MARK_EXCESS))
&& (measured_ticks <= TICKS_HIGH(desired_us - MARK_EXCESS)));
if (passed)
DBG_PRINTLN(F("; passed"));
DBG_PRINTLN(F("?; passed"));
else
DBG_PRINTLN(F("; FAILED"));
DBG_PRINTLN(F("?; FAILED"));
return passed;
}

Expand Down

0 comments on commit a4b6db2

Please sign in to comment.