mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 22:48:01 +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:
parent
785156ecec
commit
b2e1c2926f
@ -23167,3 +23167,7 @@
|
||||
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in 'docs/opsguide/Makefile.am' that broke the
|
||||
'make install' target.
|
||||
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.
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user