Added iGyroscope interface
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
34bb12933d
commit
aa966946d5
@@ -31,6 +31,8 @@
|
||||
#include <mraa/gpio.hpp>
|
||||
#include "bmg160.h"
|
||||
|
||||
#include <interfaces/iGyroscope.hpp>
|
||||
|
||||
namespace upm {
|
||||
|
||||
/**
|
||||
@@ -71,7 +73,7 @@ namespace upm {
|
||||
* @snippet bmg160.cxx Interesting
|
||||
*/
|
||||
|
||||
class BMG160 {
|
||||
class BMG160: virtual public iGyroscope {
|
||||
public:
|
||||
/**
|
||||
* BMG160 constructor.
|
||||
|
||||
Reference in New Issue
Block a user