浏览代码

Debug line

Added a debug line
Mateusz Bugdalski 13 年之前
父节点
当前提交
4a50b43832
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lpc.c

+ 1 - 0
lpc.c

@@ -133,6 +133,7 @@ void lpc_write_ram(struct lpc_device *dev, const struct sprog_data *d, unsigned
 	  last_offset = offset;
 	  last_i = i;
 	} else {
+	  sprog_error("Received '%s'\n", reply_buf);
 	  offset = last_offset;
 	  i = last_i;
 	}