Rework debug menu

This commit is contained in:
Ben V. Brown
2019-07-03 15:32:02 +10:00
parent d7e8bd77e4
commit 3f69dbd5a3
5 changed files with 31 additions and 14 deletions

View File

@@ -11,7 +11,7 @@
#include <stdint.h>
// max size = 127
template <class T=uint16_t, uint8_t SIZE=15>
template <class T, uint8_t SIZE>
struct history {
static const uint8_t size = SIZE;
T buf[size];