🔨 Simplify scripts with pathlib (#24574)

This commit is contained in:
Scott Lahteine 2022-08-01 01:14:58 -05:00 committed by GitHub
parent 6fe317e385
commit 7f72e78520
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 182 additions and 196 deletions

View file

@ -8,10 +8,8 @@
import pioutil
if pioutil.is_pio_build():
import os,marlin
Import("env")
from SCons.Script import DefaultEnvironment
board = DefaultEnvironment().BoardConfig()
board = marlin.env.BoardConfig()
def encryptByte(byte):
byte = 0xFF & ((byte << 6) | (byte >> 2))