consistency: correct comment typos
What changed, and why it matters
This commit only fixes three spelling mistakes in code comments within a single source file. No program logic, variables, or security behavior was changed.
No security action needed. This is a cosmetic documentation-quality fix and can be treated as routine maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in main/gui.c corrects the misspelled word ‘renreded’ to ‘rendered’ in two comment lines and ‘and’ to ‘an’ in a third comment line. There are no functional code changes, no changes to control flow, memory handling, cryptography, or any other security-relevant mechanism.
Changed components
main/gui.c (comments only)Inspect captured patch +3 / −3
diff --git a/main/gui.c b/main/gui.c
index b934058..004baf2 100644
--- a/main/gui.c
+++ b/main/gui.c
@@ -1133,7 +1133,7 @@ void gui_make_icon(gui_view_node_t** ptr, const Icon* icon, color_t color, const
static bool icon_animation_frame_callback(gui_view_node_t* node, void* extra_args)
{
- // no node, invalid node, not yet renreded...
+ // no node, invalid node, not yet rendered...
if (!node || node->kind != ICON || node->render_data.is_first_time) {
return false;
}
@@ -1428,7 +1428,7 @@ static inline bool can_text_fit(const char* text, uint32_t font, dispWin_t cs)
// move to the next frame of a scrolling text node
static bool text_scroll_frame_callback(gui_view_node_t* node, void* extra_args)
{
- // no node, invalid node, not yet renreded...
+ // no node, invalid node, not yet rendered...
if (!node || node->kind != TEXT || node->render_data.is_first_time) {
return false;
}
@@ -2552,7 +2552,7 @@ void gui_activity_register_event(
JADE_SEMAPHORE_GIVE(gui_mutex);
}
-// Registers and event handler, then blocks waiting for it to fire. A timeout can be passed.
+// Registers an event handler, then blocks waiting for it to fire. A timeout can be passed.
// Returns true if the event fires, false if the timeout elapsed without the event occuring.
bool gui_activity_wait_event(gui_activity_t* activity, const char* event_base, uint32_t event_id,
esp_event_base_t* trigger_event_base, int32_t* trigger_event_id, void** trigger_event_data, TickType_t max_wait)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.