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

Issue#1556. Battery module: a lot of warnings when battery dissapears #1557

Merged
merged 2 commits into from
May 23, 2022
Merged

Issue#1556. Battery module: a lot of warnings when battery dissapears #1557

merged 2 commits into from
May 23, 2022

Conversation

LukashonakV
Copy link
Contributor

@LukashonakV LukashonakV commented May 14, 2022

ISSUE#1556

  1. battery.hpp - added local bool variable. Force to print warnings the
    only once in order to warn user about wrong battery configuraion. And
    does not bring a mess when the battery is turned off (gamepads, etc.)

1. battery.hpp - added local bool variable. Force to print warnings the
only once in order to warn user about wrong battery configuraion. And
does not bring a mess when the battery is turned off (gamepads, etc.)
2. dir_name is an object which takes a part in comparison. So converted to the string.
@LukashonakV LukashonakV changed the title Issue#1556. Battery module: wrong string comparison Issue#1556. Battery module: a lot of warnings when battery is dissapeared May 14, 2022
@LukashonakV LukashonakV changed the title Issue#1556. Battery module: a lot of warnings when battery is dissapeared Issue#1556. Battery module: a lot of warnings when battery dissapears May 14, 2022
@Alexays Alexays merged commit 1e4fe0b into Alexays:master May 23, 2022
@LukashonakV LukashonakV deleted the ISSUE#1556 branch May 24, 2022 16:32
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.

None yet

2 participants