Wed, 05 Aug 2009 15:15:47 +0100
multiple fixes -- now prints successfully to a PT-2450DX.
FIX: job options were being set in GetStatus, now moved to their rightful home in Initialise()
REFACTOR: small mods to structure of Initialise, now uses PT_ERR_* consts, calls pt_Close on failure, exit logic slightly changed.
FIX: debug options should NOT have been set in Hg source (especially SKIP_STATUS_READBACK), now fixed.
philpem@3 | 1 | #ifndef _HEXDUMP_H |
philpem@3 | 2 | #define _HEXDUMP_H |
philpem@3 | 3 | |
philpem@3 | 4 | void hex_dump(void *data, int size); |
philpem@3 | 5 | /* dumps size bytes of *data to stdout. Looks like: |
philpem@3 | 6 | * [0000] 75 6E 6B 6E 6F 77 6E 20 30 FF 00 00 00 00 39 00 unknown 0.....9. |
philpem@3 | 7 | */ |
philpem@3 | 8 | |
philpem@3 | 9 | #endif // _HEXDUMP_H |