Skip to content

Commit 81ddd88

Browse files
facchinmpolldo
authored andcommitted
Fix warnings
1 parent 4805ca6 commit 81ddd88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/ARDUINO_NANO33BLE/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void initVariant() {
8989
#endif
9090
};
9191

92-
for (int i = 0; i < (sizeof(PWM)/sizeof(PWM[0])); i++) {
92+
for (unsigned int i = 0; i < (sizeof(PWM)/sizeof(PWM[0])); i++) {
9393
PWM[i]->ENABLE = 0;
9494
PWM[i]->PSEL.OUT[0] = 0xFFFFFFFFUL;
9595
}

0 commit comments

Comments
 (0)