From febdf10602fa4057e0ac3b60096e053ac1aad9be Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 21 Sep 2013 15:45:42 +0900 Subject: [PATCH] Remove procedures not neeed from init of M0110 --- protocol/m0110.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protocol/m0110.c b/protocol/m0110.c index 8bf7cfe4..9b53ec2c 100644 --- a/protocol/m0110.c +++ b/protocol/m0110.c @@ -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) -- 2.46.2