Skip to content

Commit 1965817

Browse files
committed
Changed default values for testing
1 parent a12a148 commit 1965817

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

board/boards/uno.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,14 @@ void uno_init(void) {
173173
// Turn on phone regulator
174174
set_gpio_output(GPIOB, 4, 1);
175175

176-
// Initialize IR PWM and set to 0% for now
176+
// Initialize IR PWM and set to 50% for now
177177
set_gpio_alternate(GPIOB, 7, GPIO_AF2_TIM4);
178178
pwm_init(TIM4, 2);
179-
uno_set_ir_power(0U);
179+
uno_set_ir_power(50U);
180180

181-
// Initialize fan and set to 10%
181+
// Initialize fan and set to 20%
182182
fan_init();
183-
uno_set_fan_power(5U);
183+
uno_set_fan_power(20U);
184184

185185
// Initialize harness
186186
harness_init();

board/power_saving.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ void set_power_save_state(int state) {
4848

4949
// Switch IR and fan
5050
// TODO: Remove powering these back up. Should be done on device
51-
//current_board->set_ir_power(enable ? 50U : 0U);
52-
current_board->set_fan_power(enable ? 5U : 0U);
51+
current_board->set_ir_power(enable ? 50U : 0U);
52+
current_board->set_fan_power(enable ? 20U : 0U);
5353

5454
power_save_status = state;
5555
}

0 commit comments

Comments
 (0)