type missmatch #7

Merged
meierj merged 1 commits from mohr-patch-1 into eive/develop 2021-07-26 19:04:06 +02:00
Owner

definition of getSpiParameters is void getSpiParameters(spi::SpiModes& spiMode, uint32_t& spiSpeed, UncommonParameters* parameters = nullptr) const;.

Here, size_t spiSpeed is passed, which implicitely gets converted to a temporary, which can not be bound to uint32_t& and, at least in gcc 9.3.0, leads to a compiler error.

definition of getSpiParameters is `void getSpiParameters(spi::SpiModes& spiMode, uint32_t& spiSpeed, UncommonParameters* parameters = nullptr) const;`. Here, size_t spiSpeed is passed, which implicitely gets converted to a temporary, which can not be bound to uint32_t& and, at least in gcc 9.3.0, leads to a compiler error.
mohr added 1 commit 2021-07-26 18:38:51 +02:00
meierj approved these changes 2021-07-26 19:03:54 +02:00
meierj merged commit 3bbcc42d39 into eive/develop 2021-07-26 19:04:06 +02:00
mohr deleted branch mohr-patch-1 2021-07-26 20:18:45 +02:00
muellerr referenced this issue from a commit 2021-08-06 11:27:09 +02:00
Sign in to join this conversation.
No description provided.