From 9e27f4792f708ab875e8ff90123238b24294cc1a Mon Sep 17 00:00:00 2001 From: Sorgelig Date: Mon, 25 Mar 2024 19:25:31 +0800 Subject: [PATCH] print analog/digital board type. --- user_io.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/user_io.cpp b/user_io.cpp index 3cca5d6..c51a17b 100644 --- a/user_io.cpp +++ b/user_io.cpp @@ -1318,6 +1318,7 @@ void user_io_init(const char *path, const char *xml) core_type = (fpga_core_id() & 0xFF); fio_size = fpga_get_fio_size(); io_ver = fpga_get_io_version(); + printf("I/O Board type: %s\n", fpga_get_io_type() ? "digital" : "analogue"); if (core_type == CORE_TYPE_8BIT2) {