Skip to content

Commit

Permalink
HidController: remove reference to constant from comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Oct 1, 2020
1 parent d4afeb5 commit 9b0d6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/hid/hidcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ bool HidController::poll() {
// There is no safety net for this because it has not been demonstrated to be
// a problem in practice.
while (true) {
// Rotate between two buffers so the memcmp below does not require deep copying to another buffer.
// Cycle between buffers so the memcmp below does not require deep copying to another buffer.
unsigned char* pPreviousBuffer = m_pPollData[m_iPollingBufferIndex];
m_iPollingBufferIndex = (m_iPollingBufferIndex + 1) % kNumBuffers;
unsigned char* pCurrentBuffer = m_pPollData[m_iPollingBufferIndex];
Expand Down

0 comments on commit 9b0d6b2

Please sign in to comment.