We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e8bca commit d58e19cCopy full SHA for d58e19c
examples/magic_wand/magic_wand.ino
@@ -672,7 +672,7 @@ void loop() {
672
673
int8_t max_score;
674
int max_index;
675
- for (int i = 0; i < 10; ++i) {
+ for (int i = 0; i < label_count; ++i) {
676
const int8_t score = output->data.int8[i];
677
if ((i == 0) || (score > max_score)) {
678
max_score = score;
0 commit comments