grove: Small changes to build grove library

* Removed relay and rotary from grove library
    * Removed relay and rotary from grove SWIG interfaces
    * Fixed warning for o2 printf %
    * Fixed return value warning for _get_normalized method used by
      my analog sensors.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-09-12 11:45:16 -07:00
parent f2211b9578
commit 1b9b142b2e
14 changed files with 10 additions and 35 deletions

View File

@ -27,6 +27,4 @@
#include <grovebutton.hpp>
#include <groveled.hpp>
#include <relay.hpp>
#include <rotary.hpp>
#include <grovetemp.hpp>

View File

@ -24,16 +24,6 @@
#include "groveled.hpp"
%}
%include "relay.hpp"
%{
#include "relay.hpp"
%}
%include "rotary.hpp"
%{
#include "rotary.hpp"
%}
%include "grovetemp.hpp"
%{
#include "grovetemp.hpp"

View File

@ -21,16 +21,6 @@
#include "groveled.hpp"
%}
%include "relay.hpp"
%{
#include "relay.hpp"
%}
%include "rotary.hpp"
%{
#include "rotary.hpp"
%}
%include "grovetemp.hpp"
%{
#include "grovetemp.hpp"

View File

@ -25,16 +25,6 @@
#include "groveled.hpp"
%}
%include "relay.hpp"
%{
#include "relay.hpp"
%}
%include "rotary.hpp"
%{
#include "rotary.hpp"
%}
%include "grovetemp.hpp"
%{
#include "grovetemp.hpp"