diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-19 12:36:19 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-19 12:36:19 +0000 |
commit | 786479faf0605d610c93041191ee5bd6d020ccf9 (patch) | |
tree | 1d1728538d447c1eb79e66bce95a1a5602441e2c /Demos/Host/Incomplete/PrinterHost/PrinterHost.h | |
parent | d3fb6273aa59c60f2d3f41de321c35ff08ef8feb (diff) | |
download | lufa-786479faf0605d610c93041191ee5bd6d020ccf9.tar.gz lufa-786479faf0605d610c93041191ee5bd6d020ccf9.tar.bz2 lufa-786479faf0605d610c93041191ee5bd6d020ccf9.zip |
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.
Diffstat (limited to 'Demos/Host/Incomplete/PrinterHost/PrinterHost.h')
-rw-r--r-- | Demos/Host/Incomplete/PrinterHost/PrinterHost.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Host/Incomplete/PrinterHost/PrinterHost.h b/Demos/Host/Incomplete/PrinterHost/PrinterHost.h index c0bbebfe3..5851349e4 100644 --- a/Demos/Host/Incomplete/PrinterHost/PrinterHost.h +++ b/Demos/Host/Incomplete/PrinterHost/PrinterHost.h @@ -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"
|