Skip to content

Avoid warning of unused variable "offset"#3

Open
elral wants to merge 7 commits into
MobiFlight:masterfrom
elral:master
Open

Avoid warning of unused variable "offset"#3
elral wants to merge 7 commits into
MobiFlight:masterfrom
elral:master

Conversation

@elral

@elral elral commented Jan 11, 2022

Copy link
Copy Markdown

Within MF #define MF_REDUCE_FUNCT_LEDCONTROL is used to reduce memory usage.

But in this case the variable "offset" is still defined which will result in a warning during compilation.

These changes encapsulate the variable "offset".

@elral

elral commented Sep 21, 2023

Copy link
Copy Markdown
Author

Included in this PR is also avoiding of warning of depracated declarations and deleting of not required include file.

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.

1 participant