Browse Source

cointerra: Log informational messages from the device

Luke Dashjr 12 years ago
parent
commit
7a5094f345
1 changed files with 3 additions and 0 deletions
  1. 3 0
      driver-cointerra.c

+ 3 - 0
driver-cointerra.c

@@ -366,7 +366,10 @@ die_temps_done:
 		}
 		case CMTI_SETTINGS:
 		case CMTI_INFO:
+			break;
 		case CMTI_LOGMSG:
+			applog(LOG_NOTICE, "%s: Devlog: %.*s", dev->dev_repr, (int)COINTERRA_MSGBODY_SIZE, buf);
+			break;
 		case CMTI_RESETDONE:
 		case CMTI_ERRINFO:
 			break;