Restructure the locking around SPI transfers

This commit is contained in:
px4dev
2014-07-06 11:40:28 -07:00
parent bd88951f6c
commit ef6c99c1ab
2 changed files with 35 additions and 35 deletions
+2
View File
@@ -129,6 +129,8 @@ private:
enum spi_mode_e _mode;
uint32_t _frequency;
struct spi_dev_s *_dev;
int _transfer(uint8_t *send, uint8_t *recv, unsigned len);
};
} // namespace device