summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/audio.h8
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/clock.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/audio.h b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/audio.h
index a1c6f8b777..124911e1b9 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/audio.h
+++ b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/audio.h
@@ -87,7 +87,7 @@ extern "C" {
/*---------------------------------------------------------------------------------
microphone code based on neimod's microphone example.
- See: http://neimod.com/dstek/
+ See: http://neimod.com/dstek/
Chris Double (chris.double@double.co.nz)
http://www.double.co.nz/nintendo_ds
---------------------------------------------------------------------------------*/
@@ -101,7 +101,7 @@ u8 MIC_ReadData();
/*---------------------------------------------------------------------------------
Fill the buffer with data from the microphone. The buffer will be
signed sound data at 16kHz. Once the length of the buffer is
- reached, no more data will be stored. Uses ARM7 timer 0.
+ reached, no more data will be stored. Uses ARM7 timer 0.
---------------------------------------------------------------------------------*/
void StartRecording(u8* buffer, int length);
@@ -116,7 +116,7 @@ void ProcessMicrophoneTimerIRQ();
void PM_SetAmp(u8 control);
//---------------------------------------------------------------------------------
-// Turn the microphone on
+// Turn the microphone on
//---------------------------------------------------------------------------------
static inline void MIC_On() {
//---------------------------------------------------------------------------------
@@ -125,7 +125,7 @@ static inline void MIC_On() {
//---------------------------------------------------------------------------------
-// Turn the microphone off
+// Turn the microphone off
//---------------------------------------------------------------------------------
static inline void MIC_Off() {
//---------------------------------------------------------------------------------
diff --git a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/clock.h b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/clock.h
index c5a5dbc30d..7de64292b9 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/clock.h
+++ b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm7/clock.h
@@ -84,15 +84,15 @@ extern "C" {
1b Alarm 2 interrupt
7 R/W Test Mode (0=Normal, 1=Test, don't use) (cleared on Reset)
*/
-#define STATUS_TEST (1<<7) //
-#define STATUS_INT2AE (1<<6) //
+#define STATUS_TEST (1<<7) //
+#define STATUS_INT2AE (1<<6) //
#define STATUS_SC3 (1<<5) // R/W scratch bit
#define STATUS_SC2 (1<<4) // R/W scratch bit
#define STATUS_32kE (1<<3) // Interrupt mode bits
-#define STATUS_INT1AE (1<<2) //
-#define STATUS_INT1ME (1<<1) //
-#define STATUS_INT1FE (1<<0) //
+#define STATUS_INT1AE (1<<2) //
+#define STATUS_INT1ME (1<<1) //
+#define STATUS_INT1FE (1<<0) //
// full 7 bytes for time and date
#define WRITE_TIME_AND_DATE 0x64