Skip to content

Commit

Permalink
Merge branch 'sonic-net:master' into dev-reset-local-users-password
Browse files Browse the repository at this point in the history
  • Loading branch information
azmy98 authored May 9, 2024
2 parents 02d79ce + 0362460 commit 5e3015b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'sonic_platform_base.sonic_xcvr.api.credo',
'sonic_platform_base.sonic_xcvr.mem_maps.credo',
'sonic_platform_base.sonic_xcvr.codes.credo',
'sonic_platform_base.sonic_xcvr.api.innolight',
'sonic_psu',
'sonic_sfp',
'sonic_thermal',
Expand Down
2 changes: 1 addition & 1 deletion sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def block_write_epl(self, addr, data, autopaging_flag, writelength):
datachunk = data[PAGE_LENGTH*pageoffset : PAGE_LENGTH*(pageoffset + 1)]
self.xcvr_eeprom.write_raw(next_page*PAGE_LENGTH+INIT_OFFSET, PAGE_LENGTH, datachunk)
else:
datachunk = data[INIT_OFFSET*pageoffset : ]
datachunk = data[PAGE_LENGTH*pageoffset : ]
self.xcvr_eeprom.write_raw(next_page*PAGE_LENGTH+INIT_OFFSET, len(datachunk), datachunk)
else:
sections = epl_len // writelength
Expand Down

0 comments on commit 5e3015b

Please sign in to comment.