linux, go!

This commit is contained in:
Tristan Krause 2019-04-02 13:34:59 +02:00
parent 25f313fbf2
commit d5ca50f475
16 changed files with 414 additions and 273 deletions

View file

@ -50,7 +50,6 @@ void B15F::init()
if(!testConnection())
continue;
if(!testIntConv())
continue;
@ -136,12 +135,14 @@ std::vector<std::string> B15F::getBoardInfo(void)
uint8_t n = usart.readByte();
while(n--)
{
uint8_t len = usart.readByte();
uint8_t len = usart.readByte();
std::cout << (int) len << std::endl;
std::string str;
while(len--)
str += static_cast<char>(usart.readByte());
std::cout << str << std::endl;
info.push_back(str);
}