mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2022-05-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'LiveWireLwrpGpio::gpiQuantity()' and 'LiveWireLwrpGpio::gpoQuantity()' methods where they returned slot rather than line quantities. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -69,13 +69,13 @@ RDMatrix::Type LiveWireLwrpGpio::type()
|
||||
|
||||
unsigned LiveWireLwrpGpio::gpiQuantity()
|
||||
{
|
||||
return gpio_livewire->gpis();
|
||||
return RD_LIVEWIRE_GPIO_BUNDLE_SIZE*gpio_livewire->gpis();
|
||||
}
|
||||
|
||||
|
||||
unsigned LiveWireLwrpGpio::gpoQuantity()
|
||||
{
|
||||
return gpio_livewire->gpos();
|
||||
return RD_LIVEWIRE_GPIO_BUNDLE_SIZE*gpio_livewire->gpos();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user