diff --git a/seeed-voicecard b/seeed-voicecard index 5c9fa16..f693ed3 100755 --- a/seeed-voicecard +++ b/seeed-voicecard @@ -127,7 +127,7 @@ if [ "$overlay" ]; then # TODO: dynamic dtoverlay Bug of v4.19.x # no DT node phandle inserted. - if [[ "$kernel_ver" =~ ^4\.19.*$ ]]; then + if [[ "$kernel_ver" =~ ^4\.19.*$ || "$kernel_ver" =~ ^5\.*$ ]]; then for i in $RPI_HATS; do if [ "$i" == "$overlay" ]; then do_overlay $overlay 0