mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
Fix red in bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc7c665d9b
commit
7765158513
4 changed files with 8 additions and 7 deletions
|
|
@ -22,11 +22,6 @@
|
||||||
#ifndef _PITCHSCREEN_H_
|
#ifndef _PITCHSCREEN_H_
|
||||||
#define _PITCHSCREEN_H_
|
#define _PITCHSCREEN_H_
|
||||||
|
|
||||||
/* precision of the pitch and speed variables */
|
|
||||||
/* One zero per decimal (100 means two decimal places */
|
|
||||||
#define PITCH_SPEED_PRECISION 100L
|
|
||||||
#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */
|
|
||||||
|
|
||||||
int gui_syncpitchscreen_run(void);
|
int gui_syncpitchscreen_run(void);
|
||||||
|
|
||||||
#endif /* _PITCHSCREEN_H_ */
|
#endif /* _PITCHSCREEN_H_ */
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "sound.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "tdspeed.h"
|
#include "tdspeed.h"
|
||||||
|
|
|
||||||
|
|
@ -64,4 +64,11 @@ void sound_set_pitch(int32_t pitch);
|
||||||
int32_t sound_get_pitch(void);
|
int32_t sound_get_pitch(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_PITCHSCREEN
|
||||||
|
/* precision of the pitch and speed variables */
|
||||||
|
/* One zero per decimal (100 means two decimal places */
|
||||||
|
#define PITCH_SPEED_PRECISION 100L
|
||||||
|
#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */
|
||||||
|
#endif /* HAVE_PITCHSCREEN */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,6 @@
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "logf.h"
|
#include "logf.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
/* for the pitch and speed precision #defines: */
|
|
||||||
#include "pitchscreen.h"
|
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
#include "i2c.h"
|
#include "i2c.h"
|
||||||
#include "mas.h"
|
#include "mas.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue