diff --git a/pcbnew/drc/drc_item.cpp b/pcbnew/drc/drc_item.cpp index dc8c69be5d..6b7dfc4ac2 100644 --- a/pcbnew/drc/drc_item.cpp +++ b/pcbnew/drc/drc_item.cpp @@ -90,10 +90,6 @@ DRC_ITEM DRC_ITEM::trackWidth( DRCE_TRACK_WIDTH, _( "Track width outside allowed limits" ), wxT( "track_width" ) ); -DRC_ITEM DRC_ITEM::viaTooSmall( DRCE_TOO_SMALL_VIA, - _( "Via size too small" ), - wxT( "via_too_small" ) ); - DRC_ITEM DRC_ITEM::annulus( DRCE_ANNULUS, _( "Annulus" ), wxT( "annulus" ) ); @@ -114,10 +110,6 @@ DRC_ITEM DRC_ITEM::padstack( DRCE_PADSTACK, _( "Padstack is not valid" ), wxT( "padstack" ) ); -DRC_ITEM DRC_ITEM::microviaTooSmall( DRCE_TOO_SMALL_MICROVIA, - _( "Micro via size too small" ), - wxT( "microvia_too_small" ) ); - DRC_ITEM DRC_ITEM::microviaDrillTooSmall( DRCE_TOO_SMALL_MICROVIA_DRILL, _( "Micro via drill too small" ), wxT( "microvia_drill_too_small" ) ); @@ -189,12 +181,10 @@ std::vector> DRC_ITEM::allItemTypes( { DRC_ITEM::holeNearHole, DRC_ITEM::holeClearance, DRC_ITEM::trackWidth, - DRC_ITEM::viaTooSmall, DRC_ITEM::annulus, DRC_ITEM::drillTooSmall, DRC_ITEM::viaHoleLargerThanPad, DRC_ITEM::padstack, - DRC_ITEM::microviaTooSmall, DRC_ITEM::microviaDrillTooSmall, DRC_ITEM::keepout, DRC_ITEM::courtyardsOverlap, @@ -229,13 +219,11 @@ std::shared_ptr DRC_ITEM::Create( int aErrorCode ) case DRCE_DRILLED_HOLES_TOO_CLOSE: return std::make_shared( holeNearHole ); case DRCE_HOLE_CLEARANCE: return std::make_shared( holeClearance ); case DRCE_TRACK_WIDTH: return std::make_shared( trackWidth ); - case DRCE_TOO_SMALL_VIA: return std::make_shared( viaTooSmall ); case DRCE_ANNULUS: return std::make_shared( annulus ); case DRCE_TOO_SMALL_DRILL: return std::make_shared( drillTooSmall ); case DRCE_VIA_HOLE_BIGGER: return std::make_shared( viaHoleLargerThanPad ); case DRCE_VIA_DIAMETER: return std::make_shared( viaDiameter ); case DRCE_PADSTACK: return std::make_shared( padstack ); - case DRCE_TOO_SMALL_MICROVIA: return std::make_shared( microviaTooSmall ); case DRCE_TOO_SMALL_MICROVIA_DRILL: return std::make_shared( microviaDrillTooSmall ); case DRCE_KEEPOUT: return std::make_shared( keepout ); case DRCE_OVERLAPPING_FOOTPRINTS: return std::make_shared( courtyardsOverlap ); diff --git a/pcbnew/drc/drc_item.h b/pcbnew/drc/drc_item.h index ba4e20f5b7..b1e9fa679c 100644 --- a/pcbnew/drc/drc_item.h +++ b/pcbnew/drc/drc_item.h @@ -46,13 +46,11 @@ enum PCB_DRC_CODE { DRCE_DRILLED_HOLES_TOO_CLOSE, // overlapping drilled holes break drill bits DRCE_HOLE_CLEARANCE, // DRCE_TRACK_WIDTH, // Track width is too small or too large - DRCE_TOO_SMALL_VIA, // Too small via size DRCE_ANNULUS, // Via size and drill leave annulus too small or too large DRCE_TOO_SMALL_DRILL, // Too small via or pad drill DRCE_VIA_HOLE_BIGGER, // via's hole is bigger than its diameter DRCE_VIA_DIAMETER, // Via diameter checks (min/max) DRCE_PADSTACK, // something is wrong with a pad or via stackup - DRCE_TOO_SMALL_MICROVIA, // Too small micro via size DRCE_TOO_SMALL_MICROVIA_DRILL, // Too small micro via drill DRCE_KEEPOUT, // A disallowed object is inside a keepout DRCE_OVERLAPPING_FOOTPRINTS, // footprint courtyards overlap @@ -127,13 +125,11 @@ private: static DRC_ITEM holeNearHole; static DRC_ITEM holeClearance; static DRC_ITEM trackWidth; - static DRC_ITEM viaTooSmall; static DRC_ITEM annulus; static DRC_ITEM drillTooSmall; static DRC_ITEM viaHoleLargerThanPad; static DRC_ITEM viaDiameter; static DRC_ITEM padstack; - static DRC_ITEM microviaTooSmall; static DRC_ITEM microviaDrillTooSmall; static DRC_ITEM keepout; static DRC_ITEM courtyardsOverlap; diff --git a/pcbnew/drc/drc_test_provider_via_diameter.cpp b/pcbnew/drc/drc_test_provider_via_diameter.cpp index a437e59a73..990e43d43c 100644 --- a/pcbnew/drc/drc_test_provider_via_diameter.cpp +++ b/pcbnew/drc/drc_test_provider_via_diameter.cpp @@ -30,8 +30,7 @@ Via diameter test. Errors generated: - - DRCE_TOO_SMALL_VIA - - DRCE_TOO_SMALL_MICROVIA + - DRCE_VIA_DIAMETER */ class DRC_TEST_PROVIDER_VIA_DIAMETER : public DRC_TEST_PROVIDER