fix namespace overusage
This commit is contained in:
1 parent
1741e27116
commit
8fc18ee3e8
41 files changed
+438
-440
No files matched your search
@@ -206,7 +206,7 @@ namespace tsensor {
|
||||
SetBit(CFG_TAG_EN_POS, &r);
|
||||
ClearBit(CFG_DISABLE_CLK_POS, &r);
|
||||
WritePmcReg(r, PMC_AOTAG_CFG);
|
||||
fileUtils::LogLine("[aotag] Init complete!");
|
||||
file::utils::LogLine("[aotag] Init complete!");
|
||||
wasInit = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
#include "bq24193.hpp"
|
||||
|
||||
namespace bq24193 {
|
||||
namespace tsensor {
|
||||
static u8 bq24193_get_reg(u8 reg) {
|
||||
u8 out;
|
||||
I2cRead_OutU8(I2cDevice_Bq24193, reg, &out);
|
||||
return out;
|
||||
}
|
||||
u8 getBQTemp() {
|
||||
u8 GetBqTemp() {
|
||||
u8 regVal = bq24193_get_reg(BQ24193_FaultReg);
|
||||
return regVal & BQ24193_FAULT_THERM_MASK;
|
||||
}
|
||||
} // namespace bq24193
|
||||
} // namespace tsensor
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "../i2c/i2cDrv.h"
|
||||
|
||||
|
||||
namespace bq24193 {
|
||||
namespace tsensor {
|
||||
#define BQ24193_I2C_ADDR 0x6B
|
||||
|
||||
// REG 0 masks.
|
||||
@@ -126,5 +126,5 @@ namespace bq24193 {
|
||||
BQ24193_Temp_Cold = 5,
|
||||
BQ24193_Temp_Hot = 6,
|
||||
};
|
||||
u8 getBQTemp();
|
||||
} // namespace bq24193
|
||||
u8 GetBqTemp();
|
||||
} // namespace tsensor
|
||||
@@ -491,7 +491,7 @@ namespace tsensor {
|
||||
|
||||
StartSensors();
|
||||
|
||||
fileUtils::LogLine("[Soctherm] Finished init.");
|
||||
file::utils::LogLine("[Soctherm] Finished init.");
|
||||
}
|
||||
|
||||
} // namespace tsensor
|
||||
Reference in new issue
Block a user