Add lots of value constructors.

This commit is contained in:
Jared Boone 2016-11-26 16:50:44 -08:00
parent cd31ae86d7
commit 4eb0facacb
54 changed files with 194 additions and 217 deletions

View file

@ -813,10 +813,10 @@ public:
reg_t read(const address_t reg_num);
private:
spi::SPI _bus;
spi::SPI _bus { };
RegisterMap _map { default_hackrf_one };
DirtyRegisters<Register, reg_count> _dirty;
DirtyRegisters<Register, reg_count> _dirty { };
void write(const address_t reg_num, const reg_t value);