mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-20 14:29:11 +00:00
Restores single-line logging format.
This commit is contained in:
parent
59a94943aa
commit
535747e3f2
@ -81,7 +81,7 @@ uint8_t IWM::read(int address) {
|
|||||||
(/ENBL1 is low when the first drive's motor is on; /ENBL2 is low when the second drive's motor is on.
|
(/ENBL1 is low when the first drive's motor is on; /ENBL2 is low when the second drive's motor is on.
|
||||||
If the 1-second timer is enabled, motors remain on for one second after being programmatically disabled.)
|
If the 1-second timer is enabled, motors remain on for one second after being programmatically disabled.)
|
||||||
*/
|
*/
|
||||||
LOG("Reading status (including [" << active_drive_ << "][" << ((state_ & CA2) ? '2' : '-') << ((state_ & CA1) ? '1' : '-') << ((state_ & CA0) ? '0' : '-') << ((state_ & SEL) ? 'S' : '-') << "]");
|
LOGNBR("Reading status (including [" << active_drive_ << "][" << ((state_ & CA2) ? '2' : '-') << ((state_ & CA1) ? '1' : '-') << ((state_ & CA0) ? '0' : '-') << ((state_ & SEL) ? 'S' : '-') << "] ");
|
||||||
|
|
||||||
// Determine the SENSE input.
|
// Determine the SENSE input.
|
||||||
uint8_t sense = 0x00;
|
uint8_t sense = 0x00;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user