diff options
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r-- | apps/plugins/bounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index ee4c3e443c..14bc7dea98 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c | |||
@@ -344,7 +344,7 @@ static void init_tables(void) | |||
344 | phase = pfrac = 0; | 344 | phase = pfrac = 0; |
345 | 345 | ||
346 | for (i = 0; i < TABLE_SIZE; i++) { | 346 | for (i = 0; i < TABLE_SIZE; i++) { |
347 | sin = fsincos(phase, NULL); | 347 | sin = fp_sincos(phase, NULL); |
348 | xtable[i] = RADIUS_X + sin / DIV_X; | 348 | xtable[i] = RADIUS_X + sin / DIV_X; |
349 | ytable[i] = RADIUS_Y + sin / DIV_Y; | 349 | ytable[i] = RADIUS_Y + sin / DIV_Y; |
350 | 350 | ||
@@ -411,7 +411,7 @@ static void init_clock(void) | |||
411 | phase = pfrac = 0; | 411 | phase = pfrac = 0; |
412 | 412 | ||
413 | for (i = 0; i < 60; i++) { | 413 | for (i = 0; i < 60; i++) { |
414 | sin = fsincos(phase, &cos); | 414 | sin = fp_sincos(phase, &cos); |
415 | xminute[i] = LCD_WIDTH/2 + sin / DIV_MX; | 415 | xminute[i] = LCD_WIDTH/2 + sin / DIV_MX; |
416 | yminute[i] = LCD_HEIGHT/2 - cos / DIV_MY; | 416 | yminute[i] = LCD_HEIGHT/2 - cos / DIV_MY; |
417 | xhour[i] = LCD_WIDTH/2 + sin / DIV_HX; | 417 | xhour[i] = LCD_WIDTH/2 + sin / DIV_HX; |