mirror of https://github.com/EspoTek/Labrador.git
UI rework, QLCD error
This commit is contained in:
parent
b78a65174f
commit
9eeb3f1e91
|
@ -61,7 +61,8 @@ void isoBuffer::insertIntoBuffer(short item)
|
||||||
short isoBuffer::bufferAt(uint32_t idx) const
|
short isoBuffer::bufferAt(uint32_t idx) const
|
||||||
{
|
{
|
||||||
if (idx > m_insertedCount)
|
if (idx > m_insertedCount)
|
||||||
qFatal("isoBuffer::bufferAt: invalid query");
|
qFatal("isoBuffer::bufferAt: invalid query, idx = %lu, m_insertedCount = %lu", idx, m_insertedCount);
|
||||||
|
|
||||||
return m_buffer[(m_back-1) + m_bufferLen - idx];
|
return m_buffer[(m_back-1) + m_bufferLen - idx];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue