Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d561a7

Browse files
fix typo
1 parent 163b31f commit 3d561a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/eloquent/vision/image/BaseImage.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ namespace Eloquent {
145145
* Set pixel at (x, y)
146146
* @param x
147147
* @param y
148+
* @param value
148149
*/
149-
uint8_t set(uint16_t x, uint16_t y, value) {
150+
uint8_t set(uint16_t x, uint16_t y, uint8_tvalue) {
150151
return at(x, y, 0, value);
151152
}
152153

@@ -156,7 +157,7 @@ namespace Eloquent {
156157
* @param y
157158
* @param z
158159
*/
159-
uint8_t set(uint16_t x, uint16_t y, uint8_t z, uin8_t value) {
160+
uint8_t set(uint16_t x, uint16_t y, uint8_t z, uint8_t value) {
160161
return set(y * getWidth() * getBytesPerPixel() + x * getBytesPerPixel() + z, value);
161162
}
162163

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /