update aotag coeffs
This commit is contained in:
@@ -81,14 +81,15 @@ namespace aotag {
|
|||||||
.tsample_ate = 39,
|
.tsample_ate = 39,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// These coeffs are likely NOT accurate. Probably need to dump them from L4T?
|
||||||
static const struct FuseCorrCoeff tegra_aotag_coeff = {
|
static const struct FuseCorrCoeff tegra_aotag_coeff = {
|
||||||
.alpha = 1063200,
|
.alpha = 4496200,
|
||||||
.beta = -6749000,
|
.beta = -4496200,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct FuseCorrCoeff tegra210b01_aotag_coeff = {
|
static const struct FuseCorrCoeff tegra210b01_aotag_coeff = {
|
||||||
.alpha = 991100,
|
.alpha = 4496200,
|
||||||
.beta = 1096200,
|
.beta = -4496200,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct aotag_sensor_info_t {
|
struct aotag_sensor_info_t {
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ namespace board {
|
|||||||
batteryInfoInitialize();
|
batteryInfoInitialize();
|
||||||
FetchHardwareInfos();
|
FetchHardwareInfos();
|
||||||
|
|
||||||
soctherm::Initialize();
|
soctherm::Initialize(); // SOCTHERM must be init before AOTAG
|
||||||
// PMC exosphere check
|
// PMC exosphere check
|
||||||
SecmonArgs args = {};
|
SecmonArgs args = {};
|
||||||
args.X[0] = 0xF0000002;
|
args.X[0] = 0xF0000002;
|
||||||
|
|||||||
Reference in New Issue
Block a user