Skip to content

Commit

Permalink
comments/formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 25, 2023
1 parent 1ea3813 commit 5be6ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/banglejs/jswrap_bangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,6 @@ APP_TIMER_DEF(m_backlight_off_timer_id);
#define IOEXP_LCD_BACKLIGHT 0x20
#define IOEXP_LCD_RESET 0x40
#define IOEXP_HRM 0x80


#define HOME_BTN 3
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/jsvar.c
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,8 @@ JsVar *jsvFindChildFromVar(JsVar *parent, JsVar *childName, bool addIfNotFound)
JsVar *child;
JsVarRef childref = jsvGetFirstChild(parent);

// TODO: could split this into separate loops looking for Numeric/String

while (childref) {
child = jsvLock(childref);
if (jsvIsBasicVarEqual(child, childName)) {
Expand Down

0 comments on commit 5be6ef3

Please sign in to comment.