Skip to content

Conversation

@bmorcelli
Copy link
Owner

No description provided.

@bmorcelli bmorcelli merged commit 8b1c816 into main Jan 13, 2026
59 of 116 checks passed
@bmorcelli bmorcelli deleted the tab5-mmc branch January 13, 2026 13:58
Copy link

@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: b7564aee6e

ℹ️ 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".

Comment on lines +65 to +69
Serial.println("Saving values into NVS");
err = ESP_OK;
err = nvsHandle->set_item("x0", calData[0]);
err |= nvsHandle->set_item("x1", calData[1]);
err |= nvsHandle->set_item("y0", calData[2]);

Choose a reason for hiding this comment

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

P2 Badge Commit NVS writes so touch calibration persists

The new calibration path writes values with set_item(...) but never calls nvsHandle->commit(). On ESP-IDF, NVS writes are buffered until commit; without it the calibration data is lost on reboot, so users will be prompted to re‑calibrate every power cycle. Add a commit() after the last set_item (and handle any error) to persist the values.

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.

2 participants