Skip to content

Commit

Permalink
Fixed issue #3 from davidcarne/DRCBotV2 on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
Angus authored and davidcarne committed Mar 26, 2012
1 parent 5b29cd3 commit 5204872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gcode_interp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ const char * decode_gcode_directive_type(enum RS274X_Program::gcode_directive_ty

void setupLayerIfNone(Vector_Outp * pt)
{
assert(pt->layers.size() && pt->current_layer ||
!pt->layers.size() && !pt->current_layer);
assert((pt->layers.size() && pt->current_layer) ||
(!pt->layers.size() && !pt->current_layer));

if (!pt->current_layer)
{
Expand Down

0 comments on commit 5204872

Please sign in to comment.