-
Notifications
You must be signed in to change notification settings - Fork 202
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
Add and use StringToIntOrDefault #590
Conversation
LGTM |
I'll skip enabling strict for now I think. |
@@ -133,15 +133,12 @@ bool FtdiDmxPlugin::SetDefaultPreferences() { | |||
|
|||
|
|||
/** | |||
* Return the frequency as specified in the config file. | |||
* @brief Return the frequency as specified in the config file or the default if | |||
* invalid | |||
*/ | |||
int unsigned FtdiDmxPlugin::GetFrequency() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still need to be a separate method now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I guess not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Should even provide a minor optimisation.
@@ -21,8 +21,8 @@ common_protocol_libolaproto_la_CXXFLAGS = $(COMMON_CXXFLAGS_ONLY_WARNINGS) | |||
|
|||
common_libolacommon_la_LIBADD += common/protocol/libolaproto.la | |||
|
|||
common/protocol/Ola.pb.cc common/protocol/Ola.pb.h: common/protocol/Ola.proto | |||
common/protocol/Ola.pb.cc common/protocol/Ola.pb.h: common/protocol/Makefile.mk common/protocol/Ola.proto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to remember removing this because it was causing a lot of things to get rebuilt on each pass through autoconf. That doesn't make sense though as the Makefile.mk should be static.
Can you just confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started investigating this because include/ola/plugin_id.h kept getting rebuilt while tweaking the doxygen files stuff.
I can confirm it only gets rebuilt if the files listed are touched and not if Makefile is.
LGTM |
Add and use StringToIntOrDefault
No description provided.