changed irsendraw parameter to const, #227

This commit is contained in:
Rafi Khan
2016-02-20 23:17:45 -06:00
parent 0d17ef59d8
commit 6e51379fe5
5 changed files with 6 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ These are the active contributors of this project that you may contact if there
- [Neco777](https://github.com/neco777) : Active contributor
- [Lauszus](https://github.com/lauszus) : Active contributor
- [csBlueChip](https://github.com/csbluechip) : Active contributor, who contributed major and vital changes to the code base.
- [Sebazzz](https://github.com/sebazz): Contributor
Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed.

View File

@@ -257,7 +257,7 @@ class IRsend
void enableIROut (int khz) ;
void mark (unsigned int usec) ;
void space (unsigned int usec) ;
void sendRaw (unsigned int buf[], unsigned int len, unsigned int hz) ;
void sendRaw (const unsigned int buf[], unsigned int len, unsigned int hz) ;
//......................................................................
# if SEND_RC5

View File

@@ -8,7 +8,7 @@ This library enables you to send and receive using infra-red signals on an Ardui
Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more information.
## Version - 2.01
## Version - 2.03
## Installation
1. Navigate to the [Releases](https://github.com/z3t0/Arduino-IRremote/releases) page.

View File

@@ -1,3 +1,5 @@
## 2.0.3 - 2016/02/20
- Change IRSend Raw parameter to const [PR](https://github.com/z3t0/Arduino-IRremote/pull/227)
## 2.0.2 - 2015/12/02
- Added IRremoteInfo Sketch - [PR](https://github.com/z3t0/Arduino-IRremote/pull/241)

View File

@@ -2,7 +2,7 @@
#include "IRremoteInt.h"
//+=============================================================================
void IRsend::sendRaw (unsigned int buf[], unsigned int len, unsigned int hz)
void IRsend::sendRaw (const unsigned int buf[], unsigned int len, unsigned int hz)
{
// Set IR carrier frequency
enableIROut(hz);