X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/8a6d76dd3ed85b2ddab3fc9e8b29f3b30af350cd..ee8d07d894fa10e47b4441a4db473496c701cb0f:/flash-hmmoduart.c diff --git a/flash-hmmoduart.c b/flash-hmmoduart.c index e8487d3..aa772bb 100644 --- a/flash-hmmoduart.c +++ b/flash-hmmoduart.c @@ -1,6 +1,6 @@ /* flasher for HM-MOD-UART * - * Copyright (c) 2016 Michael Gernoth + * Copyright (c) 2016-17 Michael Gernoth * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -125,13 +125,15 @@ int main(int argc, char **argv) memset(&rdata, 0, sizeof(rdata)); + printf("\nInitializing HM-MOD-UART...\n"); + dev = hmuart_init(uart, parse_hmuartlgw, &rdata, 0); if (!dev) { fprintf(stderr, "Can't initialize HM-MOD-UART\n"); exit(EXIT_FAILURE); } - printf("\nHM-MOD-UART opened.\n\n"); + printf("HM-MOD-UART opened.\n\n"); printf("Flashing %d blocks", fw->fw_blocks); if (debug) {