From c8df7eb099f61eddf3d8a763b1f75db0167be172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 8 May 2017 02:59:09 +0200 Subject: [PATCH] Make USB_COMMAND_GET_ADC_VALUE trigger the relevant function. --- right/src/usb_protocol_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index 47c0aca..2366f31 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -83,7 +83,7 @@ void usbProtocolHandler() setLedPwm(); break; case USB_COMMAND_GET_ADC_VALUE: - setLedPwm(); + getAdcValue(); break; default: break;