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

コンパイルが通らない #1

Closed
ghost opened this issue Oct 19, 2021 · 1 comment
Closed

コンパイルが通らない #1

ghost opened this issue Oct 19, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 19, 2021

M5Stack BasicとLinux版のArduinoIDE1.8.16の組み合わせ
HeaderSample.hのswitch (src)でエラーが出てコンパイルが通りませんでした。
ディスコードで他の方が対応されていたとおり

 String wifiStatus(wl_status_t src) {
    switch (src)
    {
    case WL_IDLE_STATUS    : return "IDLE_STATUS";
    case WL_NO_SSID_AVAIL  : return "NO_SSID_AVAIL";
    case WL_SCAN_COMPLETED : return "SCAN_COMPLETED";
    case WL_CONNECTED      : return ""; // CONNECTED";
    case WL_CONNECT_FAILED : return "CONNECT_FAILED";
    case WL_CONNECTION_LOST: return "CONNECTION_LOST";
    case WL_DISCONNECTED   : return "DISCONNECTED";
     default:
        break;
    }
    return "";
  }

としたところ無事に書き込みすることが出来ました。

@dinosauria123
Copy link
Owner

こちらも修正しました!ありがとうございます!

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