mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 06:57:38 -06:00
Makefile: Translate null characters to newline characters in ctr requests
Store the CTR requests in compile_time_request.txt with the null characters removed. This makes it slightly easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1022729a2a
commit
69fc1e63b4
3 changed files with 5 additions and 5 deletions
|
@ -603,7 +603,7 @@ def main():
|
|||
f = open(incmdfile, 'rb')
|
||||
data = f.read()
|
||||
f.close()
|
||||
for req in data.split('\0'):
|
||||
for req in data.split('\n'):
|
||||
req = req.lstrip()
|
||||
if not req:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue