Add {GET,SET}_USB_BUFFER_UINT* and use them wherever possible. Get rid of SetUsb*() functions.

This commit is contained in:
László Monda
2017-11-05 22:09:34 +01:00
parent 58778feb5b
commit a8bde4e007
16 changed files with 64 additions and 64 deletions

View File

@@ -4,5 +4,5 @@
void UsbCommand_GetAdcValue(void)
{
*(uint32_t*)(GenericHidOutBuffer+1) = ADC_Measure();
SET_USB_BUFFER_UINT32(1, ADC_Measure());
}