From 8ce420b10ba9fffdfe0fcb9139ce62aea1da0367 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 1 Apr 2012 19:26:46 -0300 Subject: [PATCH] cameo/excellon.c: recognize G90 code (absolute mode) Recent KiCad emits this. We're in absolute mode anyway, so we simply ignore it. --- cameo/excellon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cameo/excellon.c b/cameo/excellon.c index 53007a0..ec19828 100644 --- a/cameo/excellon.c +++ b/cameo/excellon.c @@ -1,8 +1,8 @@ /* * excellon.c - KiCad drill file input * - * Written 2010-2011 by Werner Almesberger - * Copyright 2010-2011 Werner Almesberger + * Written 2010-2012 by Werner Almesberger + * Copyright 2010-2012 Werner Almesberger * * 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 @@ -194,6 +194,8 @@ static int do_cmd(char cmd, double v, int nl, const char *name) x0 = x; slotting = 1; break; + case 90: /* absolute mode */ + break; default: fprintf(stderr, "unrecognized command G%d at line %d\n",