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

bad rebase - duplicate pthread_mutex_init in main() #43

Open
ballle98 opened this issue Aug 29, 2019 · 1 comment
Open

bad rebase - duplicate pthread_mutex_init in main() #43

ballle98 opened this issue Aug 29, 2019 · 1 comment

Comments

@ballle98
Copy link
Owner

ballle98 commented Aug 29, 2019

@@ -1047,9 +1055,6 @@ void main_loop()
_aqualink_data.battery = OK;
_aqualink_data.open_websockets = 0;

  • pthread_mutex_init(&_aqualink_data.active_thread.thread_mutex, NULL);
  • pthread_cond_init(&_aqualink_data.active_thread.thread_cond, NULL);
  • for (i=0; i < MAX_PUMPS; i++) {
    _aqualink_data.pumps[i].rpm = TEMP_UNKNOWN;
    _aqualink_data.pumps[i].gph = TEMP_UNKNOWN;
@ballle98
Copy link
Owner Author

Commit fee1ac7

#31: mutex init and cond init called multiple times

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

No branches or pull requests

1 participant