Update RadioLib to master branch
This commit is contained in:
parent
3b4827040c
commit
e41f89b2de
83 changed files with 77813 additions and 2363 deletions
|
|
@ -30,12 +30,14 @@ ITA2String::ITA2String(const ITA2String& ita2) {
|
|||
}
|
||||
|
||||
ITA2String& ITA2String::operator=(const ITA2String& ita2) {
|
||||
this->asciiLen = ita2.asciiLen;
|
||||
this->ita2Len = ita2.ita2Len;
|
||||
#if !RADIOLIB_STATIC_ONLY
|
||||
this->strAscii = new char[asciiLen + 1];
|
||||
#endif
|
||||
strcpy(this->strAscii, ita2.strAscii);
|
||||
if(&ita2 != this) {
|
||||
this->asciiLen = ita2.asciiLen;
|
||||
this->ita2Len = ita2.ita2Len;
|
||||
#if !RADIOLIB_STATIC_ONLY
|
||||
this->strAscii = new char[asciiLen + 1];
|
||||
#endif
|
||||
strcpy(this->strAscii, ita2.strAscii);
|
||||
}
|
||||
return(*this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue