Merge pull request #49 from fluffy/fixCompile

Fix compile warning and bug in getPoint
pull/55/head
Tim Evers 2017-01-26 21:27:26 +01:00 committed by GitHub
commit b512468612
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ enum CommandCodeEnum
F83 = 183
};
#define NULL 0
//#define NULL 0
class Command {
CommandCodeEnum codeEnum;

View File

@ -43,7 +43,7 @@ long CurrentState::getZ() {
}
long* CurrentState::getPoint() {
long currentPoint[3] = {x, y, z};
static long currentPoint[3] = {x, y, z};
return currentPoint;
}