Commit 8a8e5d8d authored by Maciej Suminski's avatar Maciej Suminski

Quick fix for unsupported pad types in PNS router.

parent ec763dfe
...@@ -97,12 +97,11 @@ private: ...@@ -97,12 +97,11 @@ private:
PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad ) PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
{ {
PNS_LAYERSET layers; PNS_LAYERSET layers( 0, 15 );
switch( aPad->GetAttribute() ) switch( aPad->GetAttribute() )
{ {
case PAD_STANDARD: case PAD_STANDARD:
layers = PNS_LAYERSET( 0, 15 );
break; break;
case PAD_SMD: case PAD_SMD:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment