From 891ba007a455590ac544bbebd270ebe8d3417f2c Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 31 Dec 2015 13:43:51 +0000 Subject: Add eeprom dump test --- test/dump_eeprom.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 test/dump_eeprom.c (limited to 'test/dump_eeprom.c') diff --git a/test/dump_eeprom.c b/test/dump_eeprom.c new file mode 100644 index 0000000..b32e74e --- /dev/null +++ b/test/dump_eeprom.c @@ -0,0 +1,74 @@ +#include +#include +#include + +//rtlsdr +#include +#include +#include +#include + +int print_dump( uint8_t *data, uint16_t size ) +{ + int i; + const int line_sz = 32; + for (i=0; i