Skip to content

Fix FIFO error in ADXL372 wrapper code#15

Open
bbelson2 wants to merge 3 commits intoanalogdevicesinc:masterfrom
bbelson2:fix-adxl372-fifo
Open

Fix FIFO error in ADXL372 wrapper code#15
bbelson2 wants to merge 3 commits intoanalogdevicesinc:masterfrom
bbelson2:fix-adxl372-fifo

Conversation

@bbelson2
Copy link
Copy Markdown

Because the FIFO on the ADXL372 provides 512 records, the adxl_read_reg_multiple() function must support 16-bit values for count, not just 8-bit.

Because the FIFO on the ADXL372 provides 512 records, the adxl_read_reg_multiple() function must support 16-bit values for count, not just 8-bit.
@mirceacaprioru
Copy link
Copy Markdown

mirceacaprioru commented Oct 23, 2019

Could you please add the Signed-off-by tag, and keep the limit to 75 characters/ line

static int adxl_read_reg_multiple(adxl_spi_handle *spi, unsigned char reg,
unsigned short count,
unsigned char *val)
unsigned count, unsigned char *val)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this removed the short after the unsigned. I would keep it.

@mirceacaprioru
Copy link
Copy Markdown

Please squash these commits into one and add the Signed-off-by tag.

Copy link
Copy Markdown
Contributor

@amiclaus amiclaus left a comment

Choose a reason for hiding this comment

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

Please solve the conflicting files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants