Skip to content

Commit e8cdc89

Browse files
author
John Connor
committed
implemented finalised serial protocol
1 parent 85fbb22 commit e8cdc89

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/serial_handler.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ void serial_handler::set_has_new_work(const bool & val)
5656
*/
5757
if (prepare_work(endiandata))
5858
{
59-
#if 1
60-
/**
61-
* Send test work.
62-
*/
63-
send_test_work();
64-
#else
6559
/**
6660
* The work length.
6761
*/
@@ -85,7 +79,6 @@ void serial_handler::set_has_new_work(const bool & val)
8579
i->write(
8680
reinterpret_cast<const char *> (&buffer[0]), buffer.size()
8781
);
88-
#endif
8982
}
9083
}
9184
}

0 commit comments

Comments
 (0)