liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 013168666151c82c930850dca5cc810d4d3f01bf
parent 3da692f7ef716847797af2d93f4c239248aeb297
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 12 Nov 2023 18:25:38 +0000

use parseInt for hex values

Diffstat:
Mdevices/gl-ar750/default.nix | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devices/gl-ar750/default.nix b/devices/gl-ar750/default.nix @@ -52,7 +52,7 @@ ''; - module = {pkgs, config, ... }: + module = {pkgs, config, lim, ... }: let openwrt = pkgs.openwrt; firmwareBlobs = pkgs.pkgsBuildBuild.fetchFromGitHub { @@ -77,8 +77,8 @@ }; ath10k_cal_data = let - offset = 1024 * 20; # 0x5000 - size = 2048 + 68; # 0x844 + offset = lim.parseInt "0x5000"; + size = lim.parseInt "0x844"; in pkgs.liminix.services.oneshot rec { name = "ath10k_cal_data"; up = ''