2022-08-10 05:53:22 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
if [ -e /in-pmbootstrap ]; then
|
2024-04-19 17:20:03 +00:00
|
|
|
echo "Skipping update of wl1251 calibration data (running in pmbootstrap)"
|
2022-08-10 05:53:22 +00:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2024-04-19 17:20:03 +00:00
|
|
|
echo "Updating wl1251 calibration data.."
|
2022-08-10 05:53:22 +00:00
|
|
|
wl1251-cal --nvs-loading=/dev/null --nvs-push-data=/lib/firmware/ti-connectivity/wl1251-nvs.bin
|
|
|
|
echo "Done"
|