Skip to content
Permalink
Browse files

Settings for Ryan.

  • Loading branch information...
mithro committed Aug 10, 2016
1 parent d0d3aea commit 6bdf86a48a66d40fbca4769019617f62c62633e0
Showing with 34 additions and 0 deletions.
  1. +29 −0 firmware/lm32/ci.c
  2. +2 −0 firmware/lm32/ci.h
  3. +3 −0 firmware/lm32/main.c
@@ -847,3 +847,32 @@ void ci_service(void)

ci_prompt();
}

void reconfigure_pyconau2016(void) {
// PyCon AU 2016 settings
#if (BOARD_OPSIS || BOARD_ATLYS) && TARGET_HDMI2USB
printf("Setting for PyCon AU\r\n");
printf("------------\r\n");

// video_mode 10
video_mode_set(10);

// x c 1 1
video_matrix_connect(VIDEO_IN_HDMI_IN1, VIDEO_OUT_HDMI_OUT1);
// output0 off
output0_off();
// input0 off
/* Does nothing - debug_input(1, 1, 0); */

// x c 1 encoder
video_matrix_connect(VIDEO_IN_HDMI_IN1, VIDEO_OUT_ENCODER);
// encoder on
/* Does nothing - encoder_enable(1); */
// encoder fps 25
encoder_set_fps(25);
// encoder quality 85
encoder_set_quality(85);

printf("------------\r\n");
#endif
}
@@ -4,4 +4,6 @@
void ci_prompt(void);
void ci_service(void);

void reconfigure_pyconau2016(void);

#endif
@@ -60,6 +60,9 @@ int main(void)
encoder_enable(1);
processor_update();
#endif

reconfigure_pyconau2016();

ci_prompt();
while(1) {
processor_service();

0 comments on commit 6bdf86a

Please sign in to comment.
You can’t perform that action at this time.