Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Fix NMEA and sentence enable/disable #104

Merged
merged 2 commits into from
May 9, 2020
Merged

Fix NMEA and sentence enable/disable #104

merged 2 commits into from
May 9, 2020

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented May 9, 2020

This PR:

  • Changes configureMessage() to do a read, modify, write
  • Enables a user to enable/disable a messages for a given port (I2C, UART1, etc) without affecting the other ports

Previously, modifying any message caused that message to be disabled on all other ports.

I don't think any examples are needing to be changed. I don't think this will cause any previous code to break, although it will make code act differently (user may be depending on a enableMessage() to disable that message on other ports but not realize it).

@PaulZC
Copy link
Collaborator

PaulZC commented May 9, 2020

Nice catch! Merging...

@PaulZC PaulZC merged commit cc4b329 into master May 9, 2020
@PaulZC PaulZC deleted the SentenceControl branch July 25, 2020 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants