forked from dan/liminix
1
0
Fork 0

use parseInt for hex values

This commit is contained in:
Daniel Barlow 2023-11-12 18:25:38 +00:00
parent 3da692f7ef
commit 0131686661
1 changed files with 3 additions and 3 deletions

View File

@ -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 = ''