From 82a2fb955ef843da646e506d620f6388df6d8c09 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Tue, 1 May 2018 21:07:52 +0100 Subject: [PATCH] Removed static from function to share aspect changing --- gfx/video_crt_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 07ce0c76a6..f4dd720f60 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -66,7 +66,7 @@ static void switch_crt_hz(void) } -static void crt_aspect_ratio_switch(unsigned width, unsigned height) +void crt_aspect_ratio_switch(unsigned width, unsigned height) { /* send aspect float to videeo_driver */ fly_aspect = (float)width / height;