Skip to content

Commit

Permalink
Merge branch 'patch-clickbuttons'
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyPork committed Jan 21, 2018
2 parents 5343d44 + 6971fe2 commit 8cc9ae8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ esphttpdconfig.mk

# Garbage added by CLion
.idea/
cmake-build-debug/
cmake-build-debug*/
.sass-cache

*.map
Expand Down
6 changes: 4 additions & 2 deletions user/screen.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ enum CursorShape {
X(char, font_stack, [TERM_FONTSTACK_LEN], /**/, xget_string, xset_string, TERM_FONTSTACK_LEN, /**/, 1) \
X(u8, font_size, /**/, /**/, xget_dec, xset_u8, NULL, /**/, 1)

#define TERM_BM_N(tc, n) ((tc)->bm1+(TERM_BTN_MSG_LEN*n))
#define TERM_BTN_N(tc, n) ((tc)->btn1+(TERM_BTN_LEN*n))
/** Get button N message from the passed config structure pointer */
#define TERM_BM_N(tc, n) ((tc)->bm1+(TERM_BTN_MSG_LEN*(n)))
/** Get button N text from the passed config structure pointer */
#define TERM_BTN_N(tc, n) ((tc)->btn1+(TERM_BTN_LEN*(n)))

/** Export color for config */
void xget_term_color(char *buff, u32 value);
Expand Down
2 changes: 1 addition & 1 deletion user/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#define FW_V_MAJOR 2
#define FW_V_MINOR 3
#define FW_V_PATCH 0
#define FW_V_PATCH 1
#define FW_V_SUFFIX ""
#define FW_CODENAME "Cricket" // 2.3
#define FW_CODENAME_QUOTED "\""FW_CODENAME"\""
Expand Down

0 comments on commit 8cc9ae8

Please sign in to comment.