if (buf[2] & (1 << 7)) printf("RPTEN ");
printf("\n");
printf("\tMessage type: %s (0x%02x)\n", hm_message_types(buf[3]), buf[3]);
- printf("\tMesage: ");
+ printf("\tMessage: ");
for (i = 10; i < len; i++) {
printf("%02X", buf[i]);
}
hmcfgusb_close(dev);
} while (!quit);
+ hmcfgusb_exit();
+
return EXIT_SUCCESS;
}