Skip to content

Commit

Permalink
minor comment cleanupo
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Nov 7, 2019
1 parent e90897a commit 312ba62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions board/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,7 @@ int main(void) {
TIM2->EGR = TIM_EGR_UG;
// use TIM2->CNT to read

// default to silent mode to prevent issues with Ford
// hardcode a specific safety mode if you want to force the panda to be in a specific mode
// init to NOOUTPUT and can silent
set_safety_mode(SAFETY_NOOUTPUT, 0);

#ifndef EON
Expand All @@ -778,10 +777,6 @@ int main(void) {
if (hw_type == HW_TYPE_WHITE_PANDA) {
current_board->set_esp_gps_mode(ESP_GPS_DISABLED);
}
// only enter power save after the first cycle
/*if (check_started()) {
set_power_save_state(POWER_SAVE_STATUS_ENABLED);
}*/
#endif
// 1hz
timer_init(TIM9, 1464);
Expand Down

0 comments on commit 312ba62

Please sign in to comment.