updated to use updated asyncio implementation

This commit is contained in:
Ruixiang Du
2020-09-14 15:15:39 +08:00
parent 1cb41c4eb4
commit f01ab6415d
4876 changed files with 619410 additions and 996 deletions

View File

@@ -38,7 +38,7 @@ void parse_buffer(uint8_t *buf, const size_t bufsize, size_t bytes_received)
int main(int argc, char *argv[])
{
std::shared_ptr<ASyncCAN> canbus = std::make_shared<ASyncCAN>("can1");
std::shared_ptr<AsyncCAN> canbus = std::make_shared<AsyncCAN>("can1");
// canbus->set_receive_callback(parse_buffer);