summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5592947)
Be careful with this one. The usart SPI peripheral always returned the length
it was given and an error of SUCCESS, so this could create some regressions.
task void signalSendDone()
{
atomic {
task void signalSendDone()
{
atomic {
+ error_t error = (m_pos == m_len) ? SUCCESS : FAIL;
+
- signal SpiPacket.sendDone(m_txBuf, m_rxBuf, len, SUCCESS);
+ signal SpiPacket.sendDone(m_txBuf, m_rxBuf, m_pos, error);