Skip to content

Commit

Permalink
fix: fix wrong syntax in gpumem (#177)
Browse files Browse the repository at this point in the history
Fix syntax error made in #176
Fixes #175
  • Loading branch information
mryel00 authored Sep 12, 2023
1 parent e9f36c9 commit dacc0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libs/set_gpumem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set_gpu_mem() {
mem_split=128
elif [[ "$(get_avail_mem)" -le 1048576 ]]; then
mem_split=160
else [[ "$(get_avail_mem)" -gt 1048576 ]]; then
else
mem_split=256
fi
if [[ "$(is_raspbian)" = "1" ]] && [[ -n "$(command -v raspi-config)" ]]; then
Expand Down

0 comments on commit dacc0d9

Please sign in to comment.