Skip to content

Commit

Permalink
Update special_functions.cpp
Browse files Browse the repository at this point in the history
paint special function custom name

(cherry picked from commit 59fc7c1938cd9cea8618d7b80af9c70a96cf0921)
  • Loading branch information
shane-droid authored and pfeerick committed Dec 7, 2022
1 parent 5c16aef commit 00030de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion radio/src/gui/colorlcd/special_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,8 @@ class SpecialFunctionButton : public Button
uint8_t func = CFN_FUNC(cfn);

drawSwitch(dc, col1, line1, CFN_SWITCH(cfn), COLOR_THEME_SECONDARY1);
dc->drawText(col3, line1, "CustLabelPlaceHolder", COLOR_THEME_SECONDARY1);
//paint special function custom name
dc->drawText(col3, line1, cfn->custName, COLOR_THEME_SECONDARY1);
if (cfn->isEmpty()) return;

dc->drawTextAtIndex(col2, line1, STR_VFSWFUNC, func, COLOR_THEME_SECONDARY1);
Expand Down

0 comments on commit 00030de

Please sign in to comment.