mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
firmata: extended data types on pins to allow subplatform usage
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
|
||||
using namespace upm;
|
||||
|
||||
ILI9341::ILI9341(uint8_t csLCD, uint8_t csSD, uint8_t dc, uint8_t rst) :
|
||||
ILI9341::ILI9341(int csLCD, int csSD, int dc, int rst) :
|
||||
GFX(ILI9341_TFTWIDTH, ILI9341_TFTHEIGHT), m_csLCDPinCtx(csLCD),
|
||||
m_csSDPinCtx(csSD), m_dcPinCtx(dc), m_rstPinCtx(rst), m_spi(0) {
|
||||
|
||||
|
@ -159,7 +159,7 @@ namespace upm {
|
||||
* @param dc Data/command pin
|
||||
* @param rst Reset pin
|
||||
*/
|
||||
ILI9341(uint8_t csLCD, uint8_t csSD, uint8_t dc, uint8_t rst);
|
||||
ILI9341(int csLCD, int csSD, int dc, int rst);
|
||||
|
||||
/**
|
||||
* Returns the name of the component
|
||||
|
Reference in New Issue
Block a user