From: yu.dongliang <18588496441@163.com> Date: Wed, 18 Oct 2023 07:39:46 +0000 (+0800) Subject: scf_eda_pb X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=4a502356377d6bf0feb0ddc217c84981d0f95502;p=ses.git scf_eda_pb --- diff --git a/main.c b/main.c index 3351b5a..60d2910 100644 --- a/main.c +++ b/main.c @@ -11,7 +11,8 @@ char* component_types[SCF_EDA_Components_NB] = "Capacitor", "Inductor", "Diode", - "Transistor", + "NPN", + "PNP", }; int main(int argc, char* argv[]) diff --git a/scf_eda_pb.c b/scf_eda_pb.c index 601a7a8..62edc7d 100644 --- a/scf_eda_pb.c +++ b/scf_eda_pb.c @@ -27,15 +27,15 @@ static scf_edata_t component_datas[] = static scf_edata_t pin_datas[] = { - {SCF_EDA_None, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {SCF_EDA_None, 0, 0, 0, 0, 0, 0, 0, 0, 0}, - {SCF_EDA_Diode, 0, SCF_EDA_Diode_NEG, 0, 0, 750, 0, 0, 0, 0}, + {SCF_EDA_Diode, 0, SCF_EDA_Diode_NEG, 0, 0, 750, 0, 0, 0, 0}, - {SCF_EDA_NPN, 0, SCF_EDA_NPN_B, 0, 0, 750, 0, 0, 0, 0}, - {SCF_EDA_NPN, 0, SCF_EDA_NPN_C, 0, 0, 100, 0, 0, 0, 100}, + {SCF_EDA_NPN, 0, SCF_EDA_NPN_B, 0, 0, 750, 0, 0, 0, 0}, + {SCF_EDA_NPN, 0, SCF_EDA_NPN_C, 0, 0, 50, 0, 0, 0, 150}, - {SCF_EDA_PNP, 0, SCF_EDA_PNP_B, 0, 0, 750, 0, 0, 0, 0}, - {SCF_EDA_PNP, 0, SCF_EDA_PNP_C, 0, 0, 100, 0, 0, 0, 100}, + {SCF_EDA_PNP, 0, SCF_EDA_PNP_B, 0, 0, 750, 0, 0, 0, 0}, + {SCF_EDA_PNP, 0, SCF_EDA_PNP_C, 0, 0, 50, 0, 0, 0, 150}, }; static scf_edata_t* _pin_find_data(const uint64_t type, const uint64_t model, const uint64_t pid)