1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-01 14:29:51 +00:00

Improve indentation.

This commit is contained in:
Thomas Harte 2021-07-18 11:29:26 -04:00
parent 66cacbd0e0
commit ae05010255

View File

@ -37,22 +37,24 @@ enum Line {
class PortHandler { class PortHandler {
public: public:
/// Requests the current input value of @c port from the port handler. /// Requests the current input value of @c port from the port handler.
uint8_t get_port_input([[maybe_unused]] Port port) { return 0xff; } uint8_t get_port_input([[maybe_unused]] Port port) {
return 0xff;
}
/// Sets the current output value of @c port and provides @c direction_mask, indicating which pins are marked as output. /// Sets the current output value of @c port and provides @c direction_mask, indicating which pins are marked as output.
void set_port_output([[maybe_unused]] Port port, [[maybe_unused]] uint8_t value, [[maybe_unused]] uint8_t direction_mask) {} void set_port_output([[maybe_unused]] Port port, [[maybe_unused]] uint8_t value, [[maybe_unused]] uint8_t direction_mask) {}
/// Sets the current logical output level for line @c line on port @c port. /// Sets the current logical output level for line @c line on port @c port.
void set_control_line_output([[maybe_unused]] Port port, [[maybe_unused]] Line line, [[maybe_unused]] bool value) {} void set_control_line_output([[maybe_unused]] Port port, [[maybe_unused]] Line line, [[maybe_unused]] bool value) {}
/// Sets the current logical value of the interrupt line. /// Sets the current logical value of the interrupt line.
void set_interrupt_status([[maybe_unused]] bool status) {} void set_interrupt_status([[maybe_unused]] bool status) {}
/// Provides a measure of time elapsed between other calls. /// Provides a measure of time elapsed between other calls.
void run_for([[maybe_unused]] HalfCycles duration) {} void run_for([[maybe_unused]] HalfCycles duration) {}
/// Receives passed-on flush() calls from the 6522. /// Receives passed-on flush() calls from the 6522.
void flush() {} void flush() {}
}; };
/*! /*!