changed function signiture for show byte
Added a parameter to the show byte function signiture in the header and source file.
This commit is contained in:
parent
33e75b2e6a
commit
afebedb36a
|
@ -33,7 +33,7 @@ LedByte LedController_New(uint8_t *port)
|
||||||
return led_byte;
|
return led_byte;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LedController_ShowByte(LedByte *led_byte)
|
void LedController_ShowByte(LedByte *led_byte, uint8_t byte)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ typedef struct Led
|
||||||
typedef struct LedByte
|
typedef struct LedByte
|
||||||
{
|
{
|
||||||
Led leds[8];
|
Led leds[8];
|
||||||
} LedByte;
|
}LedByte;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a instance of the LedByte structure.
|
* Returns a instance of the LedByte structure.
|
||||||
|
@ -36,7 +36,8 @@ LedByte LedController_New(uint8_t *port);
|
||||||
/**
|
/**
|
||||||
* Displays the byte of data via led pins.
|
* Displays the byte of data via led pins.
|
||||||
*/
|
*/
|
||||||
void LedController_ShowByte(LedByte *led_byte);
|
void LedController_ShowByte(LedByte *led_byte, uint8_t byte);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears out the byte led representation
|
* Clears out the byte led representation
|
||||||
|
|
Loading…
Reference in New Issue