mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-11 00:46:14 +00:00
changed irsendraw parameter to const, #227
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user