Quick fix for unsupported pad types in PNS router.

This commit is contained in:
Maciej Suminski 2014-02-21 09:53:10 +01:00
parent ec763dfede
commit 8a8e5d8d14
1 changed files with 1 additions and 2 deletions

View File

@ -97,12 +97,11 @@ private:
PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
{
PNS_LAYERSET layers;
PNS_LAYERSET layers( 0, 15 );
switch( aPad->GetAttribute() )
{
case PAD_STANDARD:
layers = PNS_LAYERSET( 0, 15 );
break;
case PAD_SMD: