Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

ports/esp32/machine_hw_spi: Fix for issue #225 #232

Closed
wants to merge 1 commit into from
Closed

ports/esp32/machine_hw_spi: Fix for issue #225 #232

wants to merge 1 commit into from

Conversation

MrSurly
Copy link
Contributor

@MrSurly MrSurly commented Nov 30, 2017

#225
Breaks up transfers to a max of 32736 bits (4092 bytes).


// doesn't need ceil(); loop ends when bits_remaining is 0
offset += transaction.length / 8;
}
}

spi_device_transmit(self->spi, &transaction);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should also be removed, else it will send dummy data at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, fixed, squashed, pushed.

#225
Breaks up transfers to a max of 32736 bits (4092 bytes).
@dpgeorge
Copy link
Member

Thanks! Merged upstream in 9123c8d9460017b8c8dc4a38d9a26968eacaa4cb

@dpgeorge dpgeorge closed this Dec 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants