mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-24 07:03:55 -06:00
🔨 Simplify scripts with pathlib (#24574)
This commit is contained in:
parent
6fe317e385
commit
7f72e78520
14 changed files with 182 additions and 196 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue