Skip to content

Commit 71c4508

Browse files
committed
Made setLEDs() method commment more explict, removed unwanted changes.
1 parent dbe9f67 commit 71c4508

File tree

3 files changed

+5
-45
lines changed

3 files changed

+5
-45
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ platformio.ini
1717
Doxyfile*
1818
doxygen_sqlite3.db
1919
html
20-
latex

Diff for: .travis.yaml

-40
This file was deleted.

Diff for: src/wifi/AdafruitIO_AIRLIFT.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
100100
@brief Allows setting of the AirLift RGB led from the
101101
Adafruit IO AirLift Class.
102102
@param r
103-
Red value
103+
Red value, unsigned 8 bit value (0->255)
104104
@param g
105-
Green value
105+
Green value, unsigned 8 bit value (0->255)
106106
@param b
107-
Blue value
107+
Blue value, unsigned 8 bit value (0->255)
108108
109109
*/
110110
/**************************************************************************/
111-
void setLEDs( int r, int g, int b) {
111+
void setLEDs( uint8_t r, uint8_t g, uint8_t b) {
112112
WiFi.setLEDs( r, g, b);
113113
}
114114

@@ -209,3 +209,4 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
209209
};
210210

211211
#endif // ADAFRUITIO_AIRLIFT_H
212+

0 commit comments

Comments
 (0)