Skip to content

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

+1-1
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)