Skip to content
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

Fix: Logged data not shown for Gas Sensor. #2112

Merged
merged 2 commits into from
Oct 2, 2020

Conversation

karvik09
Copy link
Contributor

@karvik09 karvik09 commented May 17, 2020

Fixes #1984

Changes:
Entry would be created for case when device is not created to Gas sensor.

Video for the change: https://github.com/VIKAS9899/LogRepo/raw/master/Upload/2020_05_17_14_42_40.mp4

APK for testing: https://github.com/VIKAS9899/LogRepo/raw/master/Upload/pslab_1984.apk

@@ -397,6 +397,7 @@ private void visualizeData() {
mChart.invalidate();
}
}
writeLogToFile(System.currentTimeMillis(), (float) ppmValue);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to cast the double to float? What if the variable is set to float in the first place?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CloudyPadmal
Copy link
Collaborator

Also squash commits into one and stick to the PR template.

@CloudyPadmal CloudyPadmal merged commit f2f338c into fossasia:development Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logged data not shown for gas sensor
3 participants