diff --git a/src/main.cpp b/src/main.cpp index b9f7382..b7f487c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -170,7 +170,8 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - fpga->program(args.offset); + if (!args.bit_file.empty()) + fpga->program(args.offset); if (args.reset) fpga->reset();