Skip to content

Commit

Permalink
Code cleanup. New #def
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjairo committed Dec 23, 2011
1 parent 56815e7 commit 5c12b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ppm-decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
///**********************************************************************
// Various Maple tests.. including timer capture to memory via dma =)
// */
#include "main.h"
#include "wirish.h"
#include "usb.h"
#include "timer.h"
Expand Down Expand Up @@ -127,7 +128,7 @@ void init_timer_input_capture_dma()

//using timer1, channel1, maps to pin d27 (maple mini) //d6 (maple?)
//according to maple master pin map.
pinMode(27,INPUT_PULLUP);
pinMode(PPM_PIN,INPUT_PULLUP);

//capture compare regs TIMx_CCRx used to hold val after a transition on corresponding ICx

Expand Down
3 changes: 0 additions & 3 deletions utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// Comment out to disable USB printouts
#define USB_VERBOSE

// ASCII escape character
#define ESC ((uint8)27)

// Default USART baud rate
#define BAUD 9600

Expand Down

0 comments on commit 5c12b06

Please sign in to comment.