New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual device #41

Merged
merged 122 commits into from Oct 2, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

Viewing a subset of changes. View all

mikromk2: silence prints

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  • Loading branch information...
harryhaaren committed Sep 11, 2017
commit 86950004923ef823fb806518dbf6682cc4213f0d
@@ -266,7 +266,7 @@ static uint32_t ni_maschine_mikro_mk2_poll(struct ctlra_dev_t *base)
float fin = (velo - v2) * 3;
fin = fin > 1.0f ? 1.0f : fin;
fin = fin < 0.0f ? 0.0f : fin;
printf("\nfin: %f\tvelo: %f\tv2: %f\n", fin, velo, v2);
//printf("\nfin: %f\tvelo: %f\tv2: %f\n", fin, velo, v2);
e->grid.pressure = fin;
dev->base.event_func(&dev->base, 1, &e,
dev->base.event_func_userdata);
ProTip! Use n and p to navigate between commits in a pull request.