mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 17:45:39 +00:00
cosmetic only change - on Beken, display pin alias along with name (eg. display "PWM5" next to P26)
This commit is contained in:
@ -2324,8 +2324,12 @@ int http_fn_cfg_pins(http_request_t* request) {
|
||||
alias = HAL_PIN_GetPinNameAlias(i);
|
||||
poststr(request, "<div class=\"hdiv\">");
|
||||
if (alias) {
|
||||
#ifdef PLATFORM_BEKEN
|
||||
hprintf255(request, "P%i (%s) ", i, alias);
|
||||
#else
|
||||
poststr(request, alias);
|
||||
poststr(request, " ");
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
hprintf255(request, "P%i ", i);
|
||||
|
||||
Reference in New Issue
Block a user