eeschema: fixed recognizing SPICE sim directive
This commit is contained in:
parent
8f1c1cf298
commit
1c01cc001d
|
@ -130,9 +130,9 @@ SIM_TYPE NETLIST_EXPORTER_PSPICE_SIM::GetSimType()
|
|||
SIM_TYPE NETLIST_EXPORTER_PSPICE_SIM::CommandToSimType( const wxString& aCmd )
|
||||
{
|
||||
const std::map<wxString, SIM_TYPE> simCmds = {
|
||||
{ ".ac", ST_AC }, { ".dc", ST_DC }, { ".disto", ST_DISTORTION }, { ".noise", ST_NOISE },
|
||||
{ ".op", ST_OP }, { ".pz", ST_POLE_ZERO }, { ".sens", ST_SENSITIVITY }, { ".tf", ST_TRANS_FUNC },
|
||||
{ ".tran", ST_TRANSIENT }
|
||||
{ ".ac ", ST_AC }, { ".dc ", ST_DC }, { ".disto ", ST_DISTORTION }, { ".noise ", ST_NOISE },
|
||||
{ ".op ", ST_OP }, { ".pz ", ST_POLE_ZERO }, { ".sens ", ST_SENSITIVITY }, { ".tf ", ST_TRANS_FUNC },
|
||||
{ ".tran ", ST_TRANSIENT }
|
||||
};
|
||||
wxString lcaseCmd = aCmd.Lower();
|
||||
|
||||
|
|
Loading…
Reference in New Issue