mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 18:12:13 +00:00
Externalize antenna calc and wav view (#2498)
* externalize antenna calc and wav view * Added a tool to check if all the pictures in graphics are used in internal apps
This commit is contained in:
10
firmware/tools/check_bitmap_usage.sh
Executable file
10
firmware/tools/check_bitmap_usage.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
for fname in $(ls ../graphics/); do
|
||||
fname=$(echo "$fname" | awk -F'.' '{print $1}')
|
||||
out=$(grep -r --exclude="bitmap.hpp" "$fname" ../* )
|
||||
ret=$?
|
||||
if [[ "$ret" -ne 0 ]]; then
|
||||
echo "$fname not found"
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user