 #include <DogLcd.h>
 #include <Bounce2.h>
 #include "si5351.h"
+
+// General defines
+#define USB_BUFFER_SIZE			 64
+#define USB_SEND_BUFFER          0b01
+#define USB_RECV_BUFFER          0b10
+#define USB_BOTH_BUFFER          0b11
 
 // Knob pin Defines
 #define PIN_KNOB_1_A             5

knobState_t knobState2;
knobState_t knobState3;

void setup()
{
  lcd.begin(DOG_LCD_M163);

    lcd.print(" Hz");
  } 
}

void ClearUSBBuffers(uint8_t buffer)
{
  if(buffer & USB_SEND_BUFFER == USB_SEND_BUFFER)
  {
	memset(usbSendBuffer, 0, USB_BUFFER_SIZE);
	/*for(int i = 0;i < USB_BUFFER_SIZE;i++)
	{
	  usbSendBuffer[i] = 0;
	}*/
  }
  if(buffer & USB_RECV_BUFFER == USB_RECV_BUFFER)
  {
	memset(usbRecvBuffer, 0, USB_BUFFER_SIZE);
    /*for(int i = 0;i < USB_BUFFER_SIZE;i++)
    {
	  usbRecvBuffer[i] = 0;
    }*/
  }
}
