Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Arduino Uno R3/examples/ADXL372_example/adxl372.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
//#define ADXL_DEBUG

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

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.

{
reg = reg << 1 | ADXL_SPI_RNW;
return spi_write_then_read(spi, &reg, 1, val, count);
Expand Down