mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
upm: fix pin and bus types to allow subplatform usage in C libs
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
static void my9221_lock_data(const my9221_context dev);
|
||||
static void my9221_send_16bit_block(const my9221_context dev, uint16_t data);
|
||||
|
||||
my9221_context my9221_init(uint8_t dataPin, uint8_t clockPin,
|
||||
my9221_context my9221_init(int dataPin, int clockPin,
|
||||
int instances)
|
||||
{
|
||||
if (instances < 1)
|
||||
|
@ -91,7 +91,7 @@ extern "C" {
|
||||
* least 1
|
||||
* @return Device context
|
||||
*/
|
||||
my9221_context my9221_init(uint8_t dataPin, uint8_t clockPin,
|
||||
my9221_context my9221_init(int dataPin, int clockPin,
|
||||
int instances);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user