Skip to content

Commit

Permalink
Fix IsDeviceInInitializeStateAsync (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Nov 17, 2017
1 parent 71a296d commit b3a6b06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static async Task<bool> IsDeviceInInitializeStateAsync(this Engine debugE
if (result.success)
{
var currentState = (result.currentExecutionMode & WireProtocol.Commands.Debugging_Execution_ChangeConditions.c_State_Mask);
return (currentState != WireProtocol.Commands.Debugging_Execution_ChangeConditions.c_State_ProgramRunning);
return (currentState != WireProtocol.Commands.Debugging_Execution_ChangeConditions.c_State_Initialize);
}
else
{
Expand Down

0 comments on commit b3a6b06

Please sign in to comment.