Skip to content

Commit

Permalink
Use ITD to load resources
Browse files Browse the repository at this point in the history
  • Loading branch information
StarGate01 committed Jan 29, 2023
1 parent 43003a5 commit 2a5875a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
"type": "shell",
"command": "scripts/clean.sh",
"problemMatcher": []
},
{
"label": "Start ITD daemon",
"type": "shell",
"command": "itd",
"problemMatcher": []
}
]
}
4 changes: 2 additions & 2 deletions scripts/load_resources.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

ADDR=${1:-"D5:DF:61:E5:8F:CE"}
echo "Using address $ADDR"
cd "${0%/*}"

source ./infinitime_version.sh

cd ../InfiniTime

itctl res load "build/src/resources/infinitime-resources-$INFINITIME_VERSION.zip"

0 comments on commit 2a5875a

Please sign in to comment.