Skip to content

Commit

Permalink
Per explicit request of iceman1001
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygab committed Jan 15, 2025
1 parent dc0e6f4 commit 715e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armsrc/thinfilm.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static int EmSendCmdThinfilmRaw(const uint8_t *resp, uint16_t respLen) {

// Ensure that the FPGA Delay Queue is empty
uint16_t fpga_queued_bits = FpgaSendQueueDelay >> 3;
fpga_queued_bits /= 8u;
fpga_queued_bits >>= 3; // divide by 8 (again?)
fpga_queued_bits += 1u;
for (i = 0; i <= fpga_queued_bits;) {
if (AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_TXRDY)) {
Expand Down

0 comments on commit 715e876

Please sign in to comment.