Add partial project documentation to the incomplete PrinterHost demo.

Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure.

Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body.
This commit is contained in:
Dean Camera 2009-07-19 12:36:19 +00:00
parent d3fb6273aa
commit 786479faf0
7 changed files with 110 additions and 62 deletions

View file

@ -37,6 +37,7 @@
#include <avr/pgmspace.h>
#include <avr/power.h>
#include <stdio.h>
#include <string.h>
#include "ConfigDescriptor.h"
#include "Lib/PrinterCommands.h"