IRremote
Revision 3:1ec19fef8a30, committed 2013-12-26
- Comitter:
- leejong87
- Date:
- Thu Dec 26 01:47:05 2013 +0000
- Parent:
- 2:4f0d37840b59
- Child:
- 4:10a04fa41876
- Commit message:
- update
Changed in this revision
IRremote.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/IRremote.cpp Mon Dec 23 04:34:48 2013 +0000 +++ b/IRremote.cpp Thu Dec 26 01:47:05 2013 +0000 @@ -59,12 +59,5 @@ char IRremote::read(int ir_i) { - char IR_rx; - if(ir_i<4) { - IR_rx=IR_buf[ir_i]; - IR_buf[ir_i]=0xFF; //init - } else { - IR_rx=0xFF;; - } - return IR_rx; + return IR_buf[ir_i]; } \ No newline at end of file