int may be tool small on esp32
This commit is contained in:
parent
c94859e0c2
commit
7e11eacd6f
2 changed files with 2 additions and 2 deletions
2
bus.cpp
2
bus.cpp
|
@ -416,7 +416,7 @@ uint16_t bus::read(const uint16_t addr_in, const word_mode_t word_mode, const rm
|
|||
return temp;
|
||||
}
|
||||
|
||||
void bus::setMMR0(int value)
|
||||
void bus::setMMR0(const uint16_t value)
|
||||
{
|
||||
value &= ~(3 << 10); // bit 10 & 11 always read as 0
|
||||
|
||||
|
|
2
bus.h
2
bus.h
|
@ -156,7 +156,7 @@ public:
|
|||
uint16_t getMMR3() { return MMR3; }
|
||||
void clearMMR1();
|
||||
void addToMMR1(const int8_t delta, const uint8_t reg);
|
||||
void setMMR0(int value);
|
||||
void setMMR0(const uint16_t value);
|
||||
void setMMR0Bit(const int bit);
|
||||
void clearMMR0Bit(const int bit);
|
||||
void setMMR2(const uint16_t value);
|
||||
|
|
Loading…
Add table
Reference in a new issue