mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Fixed current and potential bugs caught by Coverity
Change-Id: I9f9d09dc797ffea062eeb49c881be1d5acb63d7b
This commit is contained in:
committed by
Peter Johnson
parent
b0fec4089b
commit
055ee09825
@@ -49,9 +49,9 @@ class SPI : public SensorBase {
|
||||
|
||||
protected:
|
||||
uint8_t m_port;
|
||||
bool m_msbFirst;
|
||||
bool m_sampleOnTrailing;
|
||||
bool m_clk_idle_high;
|
||||
bool m_msbFirst = false; // default little-endian
|
||||
bool m_sampleOnTrailing = false; // default data updated on falling edge
|
||||
bool m_clk_idle_high = false; // default clock active high
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
Reference in New Issue
Block a user