Skip to content

Commit baea7af

Browse files
authored
Merge pull request #53 from NoHomey/2.2.0
Closes #52 Release new sem. version
2 parents bf14d46 + 9819704 commit baea7af

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# CHANGELOG
22

3-
## v2.1.1 *[not released yet]*
3+
## v2.2.0 *[Oct 6 2016]*
4+
* **Fix:** pinModeAlt mode argument is cheked in (FSEL_INPT, FSEL_OUTP, FSEL_ALT0, FSEL_ALT1, FSEL_ALT2, FSEL_ALT3, FSEL_ALT4, FSEL_ALT5) `NoHomey`
5+
* **Fix:** sn3218Setup is a function `NoHomey`
6+
* **Update:** documentation `NoHomey`
7+
* **Add:** export of WPI_MODE_GPIO_SYS constant `NoHomey`
8+
* **Add:** export of WPI_MODE_GPIO_PIFACE constant `NoHomey`
9+
* **Add:** export of WPI_MODE_GPIO_UNINITIALISED constant `NoHomey`
10+
* **Add:** wiringPiI2CClose `NoHomey`
11+
* **Add:** wiringPiSPIClose `NoHomey`
12+
13+
## v2.1.1 *[Jan 5 2016]*
414
* **Fix:** added scope for dispatchInterrupt `taoyuan`
515

616
## v2.1.0 *[Aug 1 2015]*

DOCUMENTATION.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,13 +487,18 @@ The ID is the I2C number of the device and you can use the i2cdetect program to
487487

488488
wiringPiI2CSetup() will work out which revision Raspberry Pi you have and open the appropriate device in /dev.
489489

490-
The return value is the standard Linux filehandle, or -1 if any error – in which case, you can consult errno as usual.
490+
The return value is the Linux file-descriptor for the device, or -1 if any error – in which case, you can consult errno as usual.
491491

492492
### wiringPiI2CSetupInterface(device, devId)
493493
<span class="api-info"><code> >= 2.0.0 </code></span>
494494

495495
Undocumented access to set the interface explicitly - might be used for the Pi's 2nd I2C interface...
496496

497+
### wiringPiI2CClose(fd)
498+
<span class="apt-info"><code> >= 2.2.0 </code></span>
499+
500+
Closes the device identified by the file descriptor given.
501+
497502
### wiringPiI2CRead(fd)
498503
<span class="api-info"><code> >= 2.0.0 </code></span>
499504

@@ -562,6 +567,11 @@ If an error has happened, you may use the standard errno global variable to see
562567
### wiringPiSPISetupMode(channel, speed, mode)
563568
<span class="apt-info"><code> >= 2.1.0 </code></span>
564569

570+
### wiringPiSPIClose(fd)
571+
<span class="apt-info"><code> >= 2.2.0 </code></span>
572+
573+
Closes the device identified by the file descriptor given.
574+
565575
---
566576

567577
## Serial

0 commit comments

Comments
 (0)