Commit 6341c360f4a393727ff80b3e6d1f9f754a9aeed1

Angus Gratton 2013-12-14T17:27:27

Shorten initial config line, win32/pdcurses doesn't like long lines during early logging

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-drillbit.c b/driver-drillbit.c
index 0512ea0..b3e2f2d 100644
--- a/driver-drillbit.c
+++ b/driver-drillbit.c
@@ -367,7 +367,7 @@ static void drillbit_send_config(struct cgpu_info *drillbit)
 
         // Find the relevant board config
         setting = find_settings(drillbit);
-        drvlog(LOG_NOTICE, "Chose config %s:%d:%d:%d (device serial %08x)",
+        drvlog(LOG_NOTICE, "Config: %s:%d:%d:%d Serial: %08x",
                 setting->config.use_ext_clock ? "ext":"int",
                 setting->config.use_ext_clock ? setting->config.ext_clock_freq : setting->config.int_clock_level,
                 setting->config.clock_div2 ? 2 : 1,