Skip to content

Commit

Permalink
Greenpak4Delay: Fixed missing quotes in GP_EDGEDET JSON export
Browse files Browse the repository at this point in the history
azonenberg committed Aug 28, 2017
1 parent 23784dd commit d826b1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/greenpak4/Greenpak4Delay.cpp
Original file line number Diff line number Diff line change
@@ -117,15 +117,15 @@ map<string, string> Greenpak4Delay::GetParameters() const
switch(m_mode)
{
case RISING_EDGE:
params["EDGE_DIRECTION"] = "RISING";
params["EDGE_DIRECTION"] = "\"RISING\"";
break;

case FALLING_EDGE:
params["EDGE_DIRECTION"] = "FALLING";
params["EDGE_DIRECTION"] = "\"FALLING\"";
break;

case BOTH_EDGE:
params["EDGE_DIRECTION"] = "BOTH";
params["EDGE_DIRECTION"] = "\"BOTH\"";
break;

//Empty case to shut up GCC warning

0 comments on commit d826b1e

Please sign in to comment.