From 6658d62805cb94ad5e593b9e35795adad48c5beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 4 Oct 2017 02:52:53 +0200 Subject: [PATCH] Group module phases. --- right/src/slave_drivers/uhk_module_driver.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/right/src/slave_drivers/uhk_module_driver.h b/right/src/slave_drivers/uhk_module_driver.h index df42092..274cd64 100644 --- a/right/src/slave_drivers/uhk_module_driver.h +++ b/right/src/slave_drivers/uhk_module_driver.h @@ -20,17 +20,26 @@ } uhk_module_id_t; typedef enum { + + // Sync communication UhkModulePhase_RequestSync, UhkModulePhase_ReceiveSync, UhkModulePhase_ProcessSync, + + // Get module features UhkModulePhase_RequestModuleFeatures, UhkModulePhase_ReceiveModuleFeatures, UhkModulePhase_ProcessModuleFeatures, + + // Get key states UhkModulePhase_RequestKeyStates, UhkModulePhase_ReceiveKeystates, UhkModulePhase_ProcessKeystates, + + // Misc phases UhkModulePhase_SetLedPwmBrightness, UhkModulePhase_SetTestLed, + } uhk_module_phase_t; typedef struct {