FreeCalypso > hg > ueda-linux
view pads2gpcb/mainoutput.c @ 153:c147a730271f
KWH020ST23-F01.fp corrections:
1) Y geometry for the solder pads was wrong
2) add silk dots matching alignment holes in the FPC tail
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Jun 2021 06:38:02 +0000 |
parents | 58f11f06d831 |
children |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> #include "globals.h" #include "struct.h" write_elements_pcb(filename) char *filename; { struct part_instance *p; FILE *outf; outf = fopen(filename, "w"); if (!outf) { perror(filename); exit(1); } for (p = part_inst_list; p; p = p->next) { if (!p->newname) continue; write_gpcb_element(outf, p->body, p->type->alpha_pins, p->type->name, p->newname, p->decal->name, p->onbottom); } fclose(outf); return(0); }