CDEV::I2C: Enforce one speed per bus

This commit is contained in:
Lorenz Meier
2015-02-13 09:12:38 +01:00
parent eeb192730f
commit c0d246e8e4
3 changed files with 92 additions and 16 deletions
+4
View File
@@ -59,6 +59,10 @@ public:
* Get the address
*/
int16_t get_address() const { return _address; }
static int set_bus_clock(unsigned bus, unsigned clock_hz);
static unsigned int _bus_clocks[3];
protected:
/**