mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 11:06:37 +06:00
Remove procedures not neeed from init of M0110
This commit is contained in:
parent
22315fcdf9
commit
febdf10602
|
@ -91,10 +91,11 @@ uint8_t m0110_error = 0;
|
||||||
|
|
||||||
void m0110_init(void)
|
void m0110_init(void)
|
||||||
{
|
{
|
||||||
uint8_t data;
|
|
||||||
idle();
|
idle();
|
||||||
_delay_ms(1000);
|
_delay_ms(1000);
|
||||||
|
|
||||||
|
/* Not needed to initialize in fact.
|
||||||
|
uint8_t data;
|
||||||
m0110_send(M0110_MODEL);
|
m0110_send(M0110_MODEL);
|
||||||
data = m0110_recv();
|
data = m0110_recv();
|
||||||
print("m0110_init model: "); phex(data); print("\n");
|
print("m0110_init model: "); phex(data); print("\n");
|
||||||
|
@ -102,6 +103,7 @@ void m0110_init(void)
|
||||||
m0110_send(M0110_TEST);
|
m0110_send(M0110_TEST);
|
||||||
data = m0110_recv();
|
data = m0110_recv();
|
||||||
print("m0110_init test: "); phex(data); print("\n");
|
print("m0110_init test: "); phex(data); print("\n");
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t m0110_send(uint8_t data)
|
uint8_t m0110_send(uint8_t data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user