serialoutput: fix default char limit
The character limit defaults to 0, but should default to unlimited characters. Change-Id: Id925bde8290050e90b8071ad4218d347d19d742a
This commit is contained in:
@ -10,7 +10,7 @@ bool SerialOutputLogger::run()
|
||||
while (true) {
|
||||
simulator.addListener(&ev_ioport);
|
||||
simulator.resume();
|
||||
if (m_output.size() < m_limit) {
|
||||
if (m_limit == 0 || m_output.size() < m_limit) {
|
||||
m_output += ev_ioport.getData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user