Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Karanami committed Aug 29, 2024
1 parent f164c23 commit 35b34ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions firmware/Core/Src/Controllers/Ltc6811Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ LtcStatus Ltc6811Controller::readPdVoltages(DataArray < float > *out)
for(size_t repeat = 0; repeat < 2; repeat++)
{
wakeUp();
rawWrite(CMD_ADOW(Mode::Filtered, Pull::Down, Discharge::NotPermited, Cell::All));
//rawWrite(CMD_ADCV(Mode::Normal, Discharge::NotPermited, Cell::All));
//rawWrite(CMD_ADOW(Mode::Normal, Pull::Down, Discharge::NotPermited, Cell::All));
rawWrite(CMD_ADCV(Mode::Normal, Discharge::NotPermited, Cell::All));
osDelay(tadc);
}

Expand Down Expand Up @@ -294,8 +294,8 @@ LtcStatus Ltc6811Controller::readVoltages(DataArray < float > *out)
static std::array < RegArray < LtcStatus >, 4 > pecs;

wakeUp();
//rawWrite(CMD_ADOW(Mode::Normal, Pull::Down, Discharge::NotPermited, Cell::All));
rawWrite(CMD_ADCV(Mode::Normal, Discharge::NotPermited, Cell::All));
rawWrite(CMD_ADOW(Mode::Normal, Pull::Down, Discharge::NotPermited, Cell::All));
//rawWrite(CMD_ADCV(Mode::Normal, Discharge::NotPermited, Cell::All));
osDelay(tadc);

wakeUp();
Expand Down
1 change: 0 additions & 1 deletion hardware/#auto_saved_files#

This file was deleted.

1 change: 0 additions & 1 deletion hardware/~PUTM_EV_BMS_HV_MASTER_2023.kicad_pcb.lck

This file was deleted.

1 change: 0 additions & 1 deletion hardware/~PUTM_EV_BMS_HV_MASTER_2023.kicad_sch.lck

This file was deleted.

0 comments on commit 35b34ee

Please sign in to comment.