Skip to content

Commit 709d153

Browse files
committed
Remove TODO comments for virtual serial port emulation.
1 parent 739b487 commit 709d153

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/sio2.c

-3
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,12 @@ uint8_t sio2_in(ceda_ioaddr_t address) {
293293
#endif
294294

295295
if (address == SIO2_CHA_DATA_REG) {
296-
// TODO(giomba): read external RS232
297296
return sio_channel_read_data(&channels[SIO_CHANNEL_A]);
298297
}
299298
if (address == SIO2_CHA_CONTROL_REG) {
300299
return sio_channel_read_control(&channels[SIO_CHANNEL_A]);
301300
}
302301
if (address == SIO2_CHB_DATA_REG) {
303-
// TODO(giomba): read keyboard input
304302
return sio_channel_read_data(&channels[SIO_CHANNEL_B]);
305303
}
306304
if (address == SIO2_CHB_CONTROL_REG) {
@@ -317,7 +315,6 @@ void sio2_out(ceda_ioaddr_t address, uint8_t value) {
317315
LOG_DEBUG("sio2 out: address = %02x, value = %02x\n", address, value);
318316

319317
if (address == SIO2_CHA_DATA_REG) {
320-
// TODO(giomba): write external RS232
321318
sio_channel_write_data(&channels[SIO_CHANNEL_A], value);
322319
} else if (address == SIO2_CHA_CONTROL_REG) {
323320
sio_channel_write_control(&channels[SIO_CHANNEL_A], value);

0 commit comments

Comments
 (0)