refactor: use PAYLOAD_LEN in template instead of 0x11223344 in asm

This commit is contained in:
Dobin
2024-02-18 19:52:50 +00:00
parent 92e9b51409
commit 9b71cdd481
5 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
for (int n=0; n<11223344; n++) {
for (int n=0; n<{{PAYLOAD_LEN}}; n++) {
dest[n] = supermega_payload[n];
}
+1 -1
View File
@@ -1,4 +1,4 @@
for (int n=0; n<11223344; n++){
for (int n=0; n<{{PAYLOAD_LEN}}; n++){
dest[n] = supermega_payload[n];
dest[n] = dest[n] ^ 0x42;
}