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

Software/O2Concetrator/ZeolitePath.cpp line #4

Open
ghost opened this issue Aug 28, 2020 · 0 comments
Open

Software/O2Concetrator/ZeolitePath.cpp line #4

ghost opened this issue Aug 28, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 28, 2020

No tengo Arduino pero lo he pasado (adaptado) a Java y tuve problemas en la línea 72.

void ZeolitePath::Spin()
{
  // Are we due to do anything?

  unsigned long now = millis();

  // Maybe. What?
  
  switch(state)
  {
    case idle:
      return; // <- aquí

No funcionaba correctamente. Pero al cambiar return por break (sólo en esa línea) se soluciono.

void ZeolitePath::Spin()
{
  // Are we due to do anything?

  unsigned long now = millis();

  // Maybe. What?
  
  switch(state)
  {
    case idle:
      break; // <- aquí lo he corregido.
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

0 participants