Skip to content
Snippets Groups Projects
Unverified Commit ead6c1fd authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #9797 from gschorcht/tests_driver_isl29125_fix

tests/driver_isl29125: fix of compilation error
parents d94d1854 7b8ef9e1
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ int main(void)
"ISL29125_MODE_R", "ISL29125_MODE_G", "ISL29125_MODE_B",
"ISL29125_MODE_RG", "ISL29125_MODE_GB"};
for (size_t i = 0; i < sizeof(modes); i++) {
for (size_t i = 0; i < sizeof(modes) / sizeof(modes[0]); i++) {
printf("Setting mode %s\n", mode_names[i]);
isl29125_set_mode(&dev, modes[i]);
xtimer_usleep(SLEEP);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment