sim: fix unit tests usage with sim window enabled

This commit is contained in:
openshwprojects
2022-11-27 15:39:29 +01:00
parent 671f7ea815
commit 79360f6520
2 changed files with 12 additions and 9 deletions

View File

@ -2345,7 +2345,7 @@ int http_fn_cfg_pins(http_request_t* request) {
alias = HAL_PIN_GetPinNameAlias(i);
poststr(request, "<div class=\"hdiv\">");
if (alias) {
#ifdef PLATFORM_BEKEN
#if defined(PLATFORM_BEKEN) || defined(WINDOWS)
hprintf255(request, "P%i (%s) ", i, alias);
#else
poststr(request, alias);