Skip to content

Instantly share code, notes, and snippets.

@ChristophHaag
Created February 3, 2019 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristophHaag/6046934e90e8d953a4ed822d11849aec to your computer and use it in GitHub Desktop.
Save ChristophHaag/6046934e90e8d953a4ed822d11849aec to your computer and use it in GitHub Desktop.
diff --git a/src/drv_lgr100/lgr100.c b/src/drv_lgr100/lgr100.c
index ad64b30..0aa8526 100644
--- a/src/drv_lgr100/lgr100.c
+++ b/src/drv_lgr100/lgr100.c
@@ -110,6 +110,7 @@ static void update_device(ohmd_device* device)
}
else if(buffer[0] == LGR100_IRQ_SENSORS) {
handle_tracker_sensor_msg(priv, buffer, size);
+ return;
}
else if (buffer[0] == LGR100_IRQ_UNKNOWN1) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment