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

Simplify connection timeouts more #40

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Simplify connection timeouts more #40

merged 1 commit into from
Oct 23, 2023

Conversation

TMRh20
Copy link
Member

@TMRh20 TMRh20 commented Oct 15, 2023

Kind of hate to do another PR right away like this, but I will give this one a while before merging in case I find any other optimizations etc.

  • Realized that the timeout var is set when data is allocated initially
  • No need for initialData variable
  • Move connection timeout after data is allocated (timeout is set to millis())

- Realized that the timeout var is set when data is allocated initially
- No need for initialData variable
- Move connection timeout after data is allocated (timeout is set to millis())
@TMRh20 TMRh20 marked this pull request as ready for review October 22, 2023 12:36
@TMRh20 TMRh20 requested a review from 2bndy5 October 22, 2023 12:36
@TMRh20
Copy link
Member Author

TMRh20 commented Oct 22, 2023

Planning on doing a release after this commit

@TMRh20 TMRh20 merged commit 32e3133 into master Oct 23, 2023
8 checks passed
@2bndy5
Copy link
Member

2bndy5 commented Oct 26, 2023

I should probably add a trigger to the PIO CI to check for formatting on push events.

push:
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"

Some added paths of a glob patterns should do the trick

  push:
    paths: 
      - ".github/workflows/build_platformIO.yml" 
      - "library.json" 
      - "examples/**" 
+     - "*.cpp"
+     - "*.h"

Our other repos (except RF24Audio) all rely on the Linux CI to check formatting in the Library source code.

@2bndy5 2bndy5 deleted the ConnectionTimeouts branch February 21, 2024 00:02
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