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 0195ac3

Browse files
committed
Use correct datatype for return value of FspTimer::get_available_timer()
1 parent 68ea03f commit 0195ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class ArduinoLEDMatrix
172172
bool begin() {
173173
bool rv = true;
174174
uint8_t type;
175-
uint8_t ch = FspTimer::get_available_timer(type);
175+
int8_t ch = FspTimer::get_available_timer(type);
176176
if(ch == -1) {
177177
return false;
178178
}

0 commit comments

Comments
(0)

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