Skip to content

Commit

Permalink
Fixed #define overlap between HT IRlink and IR Receiver, thanks Lorax…
Browse files Browse the repository at this point in the history
… for spotting it.

Also fixed bad #ifdef line, also thanks to Lorax.
  • Loading branch information
botbench committed Jan 1, 2014
1 parent e97ae4c commit bf3d2c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/hitechnic-irlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*
* License: You may use this code as you wish, provided you give credit where its due.
*
* THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
* THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
* \author Xander Soldaat (xander_at_botbench.com)
* \date 25 May 2010
Expand All @@ -50,7 +50,7 @@
#warn "-----------------------------------------"
#endif

#ifndef _COMMON_H_
#ifndef __COMMON_H__
#include "common.h"
#endif

Expand Down
4 changes: 2 additions & 2 deletions drivers/hitechnic-irrecv.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* License: You may use this code as you wish, provided you give credit where its due.
*
* THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
* THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
* \author Xander Soldaat (xander_at_botbench.com)
* \date 03 November 2009
Expand Down Expand Up @@ -53,7 +53,7 @@
#define HTIRR_MOTOR_4B 0x07 /*!< Color number */

/*! Some define. */
#define MOTOR_BRAKE -128 /*!< Motor brake */
#define HTIRR_MOTOR_BRAKE -128 /*!< Motor brake */

/*
<function prototypes>
Expand Down

0 comments on commit bf3d2c5

Please sign in to comment.