Skip to content

Added missing pointer in function read()#13

Merged
hafidhh merged 1 commit intohafidhh:masterfrom
nilbest:FixFlowRate
Jun 11, 2023
Merged

Added missing pointer in function read()#13
hafidhh merged 1 commit intohafidhh:masterfrom
nilbest:FixFlowRate

Conversation

@nilbest
Copy link
Contributor

@nilbest nilbest commented Jun 8, 2023

Description

Change the read function so that now _timebefore is called via a pointer. The "this->" was missing before.
It kind of produced some errors from time to time.

Fixes Issue #12

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

-Tested it via the same setup used to test the flowrate in the Setup described in Issue#12

Test Configuration:

  • Firmware version :
  • IDE : Arduino (2.1.0) / PlatformIO (3.4.4)
  • Hardware : Arduino Uno with the YF-S201 FlowSensor
  • SDK :

@hafidhh hafidhh merged commit 9f9665a into hafidhh:master Jun 11, 2023
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.

2 participants