Skip to content

Commit a9afde2

Browse files
committed
Fix PON TX configuration
1 parent 2d6bbda commit a9afde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cru/Ttc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ bool Ttc::configurePonTx(uint32_t onuAddress)
122122
mPdaBar->writeRegister(Cru::Registers::CLOCK_PLL_CONTROL_ONU.index, 0x00200000);
123123
std::this_thread::sleep_for(std::chrono::milliseconds(10));
124124
onuStatus = mPdaBar->readRegister((Cru::Registers::ONU_USER_LOGIC.address + 0xC)/4);
125-
if (onuStatus == 0xff || onuStatus == 0x7f) {
125+
if (onuStatus == 0xff || onuStatus == 0xf7) {
126126
count++;
127127
} else if (onuStatus == 0xf5 || onuStatus == 0xfd) {
128128
count = 0;

0 commit comments

Comments
 (0)