Victor segmentation and decode works; but clock detection is still terrible.

This commit is contained in:
David Given
2019-03-02 11:04:45 +01:00
parent e16a9f77f3
commit 38c1a8ebfa
6 changed files with 40 additions and 11 deletions

View File

@@ -1,6 +1,13 @@
#include "globals.h"
#include "bytes.h"
uint8_t toByte(
std::vector<bool>::const_iterator start,
std::vector<bool>::const_iterator end)
{
return toBytes(start, end).at(0);
}
std::vector<uint8_t> toBytes(
std::vector<bool>::const_iterator start,
std::vector<bool>::const_iterator end)