diff options
Diffstat (limited to 'apps/plugins/clock')
-rw-r--r-- | apps/plugins/clock/clock_draw_analog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/clock/clock_draw_analog.c b/apps/plugins/clock/clock_draw_analog.c index c41ec3b24c..9efe3623a3 100644 --- a/apps/plugins/clock/clock_draw_analog.c +++ b/apps/plugins/clock/clock_draw_analog.c | |||
@@ -41,11 +41,11 @@ void polar_to_cartesian(int a, int r, int* x, int* y) | |||
41 | { | 41 | { |
42 | #if CONFIG_LCD == LCD_SSD1815 | 42 | #if CONFIG_LCD == LCD_SSD1815 |
43 | /* Correct non-square pixel aspect of archos recorder LCD */ | 43 | /* Correct non-square pixel aspect of archos recorder LCD */ |
44 | *x = (sin_int(a) * 5 / 4 * r) >> 14; | 44 | *x = (fp14_sin(a) * 5 / 4 * r) >> 14; |
45 | #else | 45 | #else |
46 | *x = (sin_int(a) * r) >> 14; | 46 | *x = (fp14_sin(a) * r) >> 14; |
47 | #endif | 47 | #endif |
48 | *y = (sin_int(a-90) * r) >> 14; | 48 | *y = (fp14_sin(a-90) * r) >> 14; |
49 | } | 49 | } |
50 | 50 | ||
51 | void polar_to_cartesian_screen_centered(struct screen * display, | 51 | void polar_to_cartesian_screen_centered(struct screen * display, |