]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Remove procedures not neeed from init of M0110
authortmk <nobody@nowhere>
Sat, 21 Sep 2013 06:45:42 +0000 (15:45 +0900)
committertmk <nobody@nowhere>
Sat, 21 Sep 2013 06:45:42 +0000 (15:45 +0900)
protocol/m0110.c

index 8bf7cfe4fe1f980baeb09044644013a999d2be92..9b53ec2cd61c9c6341281ca2781c320b1d92d2e4 100644 (file)
@@ -91,10 +91,11 @@ uint8_t m0110_error = 0;
 
 void m0110_init(void)
 {
-    uint8_t data;
     idle();
     _delay_ms(1000);
 
+/* Not needed to initialize in fact.
+    uint8_t data;
     m0110_send(M0110_MODEL);
     data = m0110_recv();
     print("m0110_init model: "); phex(data); print("\n");
@@ -102,6 +103,7 @@ void m0110_init(void)
     m0110_send(M0110_TEST);
     data = m0110_recv();
     print("m0110_init test: "); phex(data); print("\n");
+*/
 }
 
 uint8_t m0110_send(uint8_t data)