small form improvements

This commit is contained in:
Robin Müller 2021-02-24 11:36:35 +01:00 committed by Robin Mueller
parent 34239aa364
commit 8a92e840ac

View File

@ -74,7 +74,7 @@ void ObjectFactory::produce(){
gpio::createRpiGpioConfig(gpioCookieLoopback, gpioIdReader, bcmPinReader, "GPIO_LB_READER",
gpio::Direction::IN, 0);
new LibgpiodTest(objects::LIBGPIOD_TEST, objects::GPIO_IF, gpioCookieLoopback);
#endif
#endif /* RPI_LOOPBACK_TEST_GPIO == 1 */
new SpiComIF(objects::SPI_COM_IF, gpioIF);
@ -102,5 +102,6 @@ void ObjectFactory::produce(){
auto mgmHandler = new MGMHandlerLIS3MDL(objects::MGM_0_LIS3_HANDLER,
objects::SPI_COM_IF, spiCookie);
mgmHandler->setStartUpImmediately();
#endif
#endif /* RPI_TEST_ACS_BOARD == 1 */
}