diff --git a/eeschema/dialogs/panel_setup_pinmap.cpp b/eeschema/dialogs/panel_setup_pinmap.cpp index 2eb4b034b4..5cb755b098 100644 --- a/eeschema/dialogs/panel_setup_pinmap.cpp +++ b/eeschema/dialogs/panel_setup_pinmap.cpp @@ -197,7 +197,7 @@ void PANEL_SETUP_PINMAP::setDRCMatrixButtonState( wxBitmapButton *aButton, PIN_E tooltip = _( "Generate warning" ); break; - case PIN_ERROR::ERROR: + case PIN_ERROR::PP_ERROR: bitmap_butt = ercerr_xpm; tooltip = _( "Generate error" ); break; diff --git a/eeschema/erc.cpp b/eeschema/erc.cpp index 2f985c1c58..34e6cd7cb0 100644 --- a/eeschema/erc.cpp +++ b/eeschema/erc.cpp @@ -377,7 +377,7 @@ void ERC_TESTER::diagnose( NETLIST_OBJECT* aNetItemRef, NETLIST_OBJECT* aNetItem if( settings.GetSeverity( ERCE_PIN_TO_PIN_WARNING ) != RPT_SEVERITY_IGNORE ) { ERC_ITEM* ercItem = ERC_ITEM::Create( - aDiag == PIN_ERROR::ERROR ? ERCE_PIN_TO_PIN_ERROR : ERCE_PIN_TO_PIN_WARNING ); + aDiag == PIN_ERROR::PP_ERROR ? ERCE_PIN_TO_PIN_ERROR : ERCE_PIN_TO_PIN_WARNING ); ercItem->SetItems( pin, static_cast( aNetItemTst->m_Comp ) ); SCH_MARKER* marker = new SCH_MARKER( ercItem, aNetItemRef->m_Start ); diff --git a/eeschema/erc_settings.cpp b/eeschema/erc_settings.cpp index a5bcd48403..305957ed49 100644 --- a/eeschema/erc_settings.cpp +++ b/eeschema/erc_settings.cpp @@ -31,7 +31,7 @@ const int ercSettingsSchemaVersion = 0; #define OK PIN_ERROR::OK -#define ERR PIN_ERROR::ERROR +#define ERR PIN_ERROR::PP_ERROR #define WAR PIN_ERROR::WARNING /** diff --git a/eeschema/erc_settings.h b/eeschema/erc_settings.h index 3765355cd9..9a35f34c10 100644 --- a/eeschema/erc_settings.h +++ b/eeschema/erc_settings.h @@ -67,7 +67,7 @@ enum class PIN_ERROR { OK, WARNING, - ERROR, + PP_ERROR, UNCONNECTED };