mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:43:00 +02:00
cameo/excellon.c: recognize G90 code (absolute mode)
Recent KiCad emits this. We're in absolute mode anyway, so we simply ignore it.
This commit is contained in:
parent
479ae41070
commit
8ce420b10b
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* excellon.c - KiCad drill file input
|
* excellon.c - KiCad drill file input
|
||||||
*
|
*
|
||||||
* Written 2010-2011 by Werner Almesberger
|
* Written 2010-2012 by Werner Almesberger
|
||||||
* Copyright 2010-2011 Werner Almesberger
|
* Copyright 2010-2012 Werner Almesberger
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -194,6 +194,8 @@ static int do_cmd(char cmd, double v, int nl, const char *name)
|
|||||||
x0 = x;
|
x0 = x;
|
||||||
slotting = 1;
|
slotting = 1;
|
||||||
break;
|
break;
|
||||||
|
case 90: /* absolute mode */
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"unrecognized command G%d at line %d\n",
|
"unrecognized command G%d at line %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user