makefile phony targets

This commit is contained in:
Tristan Krause 2019-06-04 10:38:56 +02:00
parent b4996e84c8
commit 82e5c3ef93
5 changed files with 49 additions and 463 deletions

View file

@ -143,7 +143,7 @@ std::vector<std::string> B15F::getBoardInfo(void)
uint8_t n;
usart.receive(&n, 0, sizeof(n));
std::cout << "len: " << (int) n << std::endl << std::flush;
while (n--)
{
uint8_t len;
@ -153,6 +153,8 @@ std::vector<std::string> B15F::getBoardInfo(void)
str[len] = '\0';
usart.receive(reinterpret_cast<uint8_t *>(&str[0]), 0, len);
std::cout << &str[0] << std::endl;
info.push_back(std::string(str));
}