mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Change incorrect variable type to unsigned int
This commit is contained in:
parent
2b5c66ca85
commit
8801355ace
5 changed files with 8 additions and 8 deletions
4
Conf.cpp
4
Conf.cpp
|
|
@ -440,7 +440,7 @@ bool CConf::read()
|
|||
else if (::strcmp(key, "Columns") == 0)
|
||||
m_hd44780Columns = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "I2CAddress") == 0)
|
||||
m_hd44780i2cAddress = value;
|
||||
m_hd44780i2cAddress = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "PWM") == 0)
|
||||
m_hd44780PWM = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "PWMPin") == 0)
|
||||
|
|
@ -892,7 +892,7 @@ std::vector<unsigned int> CConf::getHD44780Pins() const
|
|||
return m_hd44780Pins;
|
||||
}
|
||||
|
||||
std::string CConf::getHD44780i2cAddress() const
|
||||
unsigned int CConf::getHD44780i2cAddress() const
|
||||
{
|
||||
return m_hd44780i2cAddress;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue