Skip to content

Commit 26751ee

Browse files
authored
Merge pull request #9658 from alekla01/patch-1
REALTEK_RTL8195AM binary timestamp
2 parents 1bbb76d + 3e88cf7 commit 26751ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/targets/REALTEK_RTL8195AM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def create_daplink(image_bin, ram1_bin, ram2_bin):
147147

148148
RAM2_HEADER['tag'] = format_number(TAG, 8)
149149
RAM2_HEADER['ver'] = format_number(VER, 8)
150-
RAM2_HEADER['timestamp'] = format_number(epoch_timestamp(), 16)
150+
RAM2_HEADER['timestamp'] = format_number(int(os.environ.get('DAPLINK_TIMESTAMP', epoch_timestamp())), 16)
151151
RAM2_HEADER['size'] = format_number(os.stat(ram2_bin).st_size + 72, 8)
152152
RAM2_HEADER['hash'] = format_string(sha256_checksum(ram2_bin))
153153
RAM2_HEADER['campaign'] = format_string(CAMPAIGN)

0 commit comments

Comments
 (0)