From 4e15ebe23a5c91e2bb86a2d6daf043beac197d74 Mon Sep 17 00:00:00 2001 From: Skot Date: Fri, 29 Nov 2024 22:30:48 -0500 Subject: [PATCH] remove erroneous ASIC baudrate change --- components/asic/bm1366.c | 4 ++-- components/asic/include/bm1366.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/asic/bm1366.c b/components/asic/bm1366.c index 097db33dd..99bcafe27 100644 --- a/components/asic/bm1366.c +++ b/components/asic/bm1366.c @@ -469,8 +469,8 @@ static uint8_t _send_init(uint64_t frequency, uint16_t asic_count) unsigned char init171[11] = {0x55, 0xAA, 0x41, 0x09, 0x00, 0x2C, 0x00, 0x7C, 0x00, 0x03, 0x03}; _send_simple(init171, 11); - unsigned char init173[11] = {0x55, 0xAA, 0x51, 0x09, 0x00, 0x28, 0x11, 0x30, 0x02, 0x00, 0x03}; - _send_simple(init173, 11); + // unsigned char init173[11] = {0x55, 0xAA, 0x51, 0x09, 0x00, 0x28, 0x11, 0x30, 0x02, 0x00, 0x03}; + // _send_simple(init173, 11); for (uint8_t i = 0; i < chip_counter; i++) { unsigned char set_a8_register[6] = {i * address_interval, 0xA8, 0x00, 0x07, 0x01, 0xF0}; diff --git a/components/asic/include/bm1366.h b/components/asic/include/bm1366.h index afa417cb6..eb35d6e3b 100644 --- a/components/asic/include/bm1366.h +++ b/components/asic/include/bm1366.h @@ -10,7 +10,7 @@ #define CRC5_MASK 0x1F #define BM1366_ASIC_DIFFICULTY 256 -#define BM1366_SERIALTX_DEBUG false +#define BM1366_SERIALTX_DEBUG true #define BM1366_SERIALRX_DEBUG false #define BM1366_DEBUG_WORK false //causes insane amount of debug output #define BM1366_DEBUG_JOBS false //causes insane amount of debug output