1
0
Fork 0

Remove legacy print backward compatiblitly (#11805)

* Remove legacy print backward compatiblitly

* Remove legacy print backward compatiblitly - core

* revert comment changes
This commit is contained in:
Joel Challis 2021-02-06 16:56:13 +00:00 committed by GitHub
parent c50ecb4bb0
commit f5a38b95c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 107 additions and 117 deletions

View file

@ -95,11 +95,11 @@ void m0110_init(void) {
uint8_t data;
m0110_send(M0110_MODEL);
data = m0110_recv();
print("m0110_init model: "); phex(data); print("\n");
print("m0110_init model: "); print_hex8(data); print("\n");
m0110_send(M0110_TEST);
data = m0110_recv();
print("m0110_init test: "); phex(data); print("\n");
print("m0110_init test: "); print_hex8(data); print("\n");
*/
}
@ -122,7 +122,7 @@ uint8_t m0110_send(uint8_t data) {
return 1;
ERROR:
print("m0110_send err: ");
phex(m0110_error);
print_hex8(m0110_error);
print("\n");
_delay_ms(500);
idle();
@ -146,7 +146,7 @@ uint8_t m0110_recv(void) {
return data;
ERROR:
print("m0110_recv err: ");
phex(m0110_error);
print_hex8(m0110_error);
print("\n");
_delay_ms(500);
idle();