aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/m0110.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-02-06 16:56:13 +0000
committerGitHub <noreply@github.com>2021-02-06 16:56:13 +0000
commitf5a38b95c12d100ab74acfd603502c66e0d0911d (patch)
treed752c81b42539959c3b69ff70d7c00c0cb666120 /tmk_core/protocol/m0110.c
parentc50ecb4bb053a98dc8541f29e3a98f149340980a (diff)
downloadqmk_firmware-f5a38b95c12d100ab74acfd603502c66e0d0911d.tar.gz
qmk_firmware-f5a38b95c12d100ab74acfd603502c66e0d0911d.zip
Remove legacy print backward compatiblitly (#11805)
* Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
Diffstat (limited to 'tmk_core/protocol/m0110.c')
-rw-r--r--tmk_core/protocol/m0110.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmk_core/protocol/m0110.c b/tmk_core/protocol/m0110.c
index b02a6933d..64f2fa50a 100644
--- a/tmk_core/protocol/m0110.c
+++ b/tmk_core/protocol/m0110.c
@@ -95,11 +95,11 @@ void m0110_init(void) {
95 uint8_t data; 95 uint8_t data;
96 m0110_send(M0110_MODEL); 96 m0110_send(M0110_MODEL);
97 data = m0110_recv(); 97 data = m0110_recv();
98 print("m0110_init model: "); phex(data); print("\n"); 98 print("m0110_init model: "); print_hex8(data); print("\n");
99 99
100 m0110_send(M0110_TEST); 100 m0110_send(M0110_TEST);
101 data = m0110_recv(); 101 data = m0110_recv();
102 print("m0110_init test: "); phex(data); print("\n"); 102 print("m0110_init test: "); print_hex8(data); print("\n");
103 */ 103 */
104} 104}
105 105
@@ -122,7 +122,7 @@ uint8_t m0110_send(uint8_t data) {
122 return 1; 122 return 1;
123ERROR: 123ERROR:
124 print("m0110_send err: "); 124 print("m0110_send err: ");
125 phex(m0110_error); 125 print_hex8(m0110_error);
126 print("\n"); 126 print("\n");
127 _delay_ms(500); 127 _delay_ms(500);
128 idle(); 128 idle();
@@ -146,7 +146,7 @@ uint8_t m0110_recv(void) {
146 return data; 146 return data;
147ERROR: 147ERROR:
148 print("m0110_recv err: "); 148 print("m0110_recv err: ");
149 phex(m0110_error); 149 print_hex8(m0110_error);
150 print("\n"); 150 print("\n");
151 _delay_ms(500); 151 _delay_ms(500);
152 idle(); 152 idle();