1
0
forked from fsfw/fsfw

Merge branch 'development' into mueller/compiler-warning-fixes-upstream-2

This commit is contained in:
2022-04-12 17:08:56 +02:00
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ using mspCb = void (*)(void);
namespace spi {
struct MspCfgBase {
MspCfgBase();
MspCfgBase() {}
MspCfgBase(stm32h7::GpioCfg sck, stm32h7::GpioCfg mosi, stm32h7::GpioCfg miso,
mspCb cleanupCb = nullptr, mspCb setupCb = nullptr)
: sck(sck), mosi(mosi), miso(miso), cleanupCb(cleanupCb), setupCb(setupCb) {}