Skip to content

Refactored Factory Test code Using AI#564

Open
Yukti007 wants to merge 1 commit into
mainfrom
Refactor-factory-test
Open

Refactored Factory Test code Using AI#564
Yukti007 wants to merge 1 commit into
mainfrom
Refactor-factory-test

Conversation

@Yukti007
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5c88333a8c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

return true;
startOTAServerIfNeeded(); // start OTA while AP is active so /update is reachable

bool ok = promptYesNo(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid redeclaring ok in runTest_WifiAP

In the Wi-Fi AP test, ok was already declared for the WiFi.softAP(...) result earlier in the same function, so declaring bool ok again for the operator prompt causes this sketch to fail to compile when the factory-test firmware is built. Reuse the existing variable or give the prompt result a different name.

Useful? React with 👍 / 👎.

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