mirror of
				https://github.com/eclipse/upm.git
				synced 2025-11-04 09:05:34 +03:00 
			
		
		
		
	st7735: expose base class python wrappers too and avoid name collision
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
		@@ -4,6 +4,12 @@
 | 
			
		||||
%include "../upm.i"
 | 
			
		||||
 | 
			
		||||
%feature("autodoc", "3");
 | 
			
		||||
%rename("printString") print(std::string msg);
 | 
			
		||||
 | 
			
		||||
%include "gfx.h"
 | 
			
		||||
%{
 | 
			
		||||
    #include "gfx.h"
 | 
			
		||||
%}
 | 
			
		||||
 | 
			
		||||
%include "st7735.h"
 | 
			
		||||
%{
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,7 @@
 | 
			
		||||
#include <mraa/gpio.hpp>
 | 
			
		||||
 | 
			
		||||
#include <mraa/spi.hpp>
 | 
			
		||||
#include <gfx.h>
 | 
			
		||||
#include "gfx.h"
 | 
			
		||||
 | 
			
		||||
#define INITR_GREENTAB      0x0
 | 
			
		||||
#define INITR_REDTAB        0x1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user