]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - ps2.c
Refactored bootloader jumping. Added USBaspLoader support.
[max/tmk_keyboard.git] / ps2.c
diff --git a/ps2.c b/ps2.c
index 99749cf6ba4fc1aac707fa81b791fd0b39192029..8a05916210d77b4741c060c543a45fad75a102e2 100644 (file)
--- a/ps2.c
+++ b/ps2.c
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2010,2011 Jun WAKO <wakojun@gmail.com>
+Copyright 2010,2011 Jun WAKO <wakojun@gmail.com>
 
 This software is licensed with a Modified BSD License.
 All of this is supposed to be Free Software, Open Source, DFSG-free,
@@ -34,6 +34,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 */
+
 #include <stdbool.h>
 #include <avr/io.h>
 #include <avr/interrupt.h>
@@ -227,8 +228,13 @@ uint8_t ps2_host_recv(void)
     return pbuf_dequeue();
 }
 
+#if 0
 #define DEBUGP_INIT() do { DDRC = 0xFF; } while (0)
 #define DEBUGP(x) do { PORTC = x; } while (0)
+#else
+#define DEBUGP_INIT()
+#define DEBUGP(x)
+#endif
 ISR(PS2_INT_VECT)
 {
     static enum {