Skip to content

Commit 934abde

Browse files
committed
was calling basebuserror instead of baseserialerror
1 parent 7a4b4ae commit 934abde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sfTk/sfTkISerial.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ const sfTkError_t ksfTkErrSerialUnderRead = ksfTkErrBaseSerial + 7;
6767
/**
6868
* @brief Returned when the serial is not enabled. Warning
6969
*/
70-
const sfTkError_t ksfTkErrSerialNotEnabled = ksfTkErrBaseBus + 8;
70+
const sfTkError_t ksfTkErrSerialNotEnabled = ksfTkErrBaseSerial + 8;
7171

7272
/**
7373
* @brief Returned when the serial data is bad or corrupted.
7474
*/
75-
const sfTkError_t ksfTkErrSerialBadData = ksfTkErrFail * (ksfTkErrBaseBus + 9);
75+
const sfTkError_t ksfTkErrSerialBadData = ksfTkErrFail * (ksfTkErrBaseSerial + 9);
7676

7777
class sfTkISerial
7878
{

0 commit comments

Comments
 (0)