From 326beaa426a3babf48dbb51c2e9c6a515cbecd8a Mon Sep 17 00:00:00 2001 From: EmilioCorigliano <emilio.corigliano@mail.polimi.it> Date: Thu, 20 Apr 2023 01:10:04 +0200 Subject: [PATCH] [I2C] Removed already solved todo and fixed documentation --- src/shared/drivers/i2c/I2CDriver.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/shared/drivers/i2c/I2CDriver.h b/src/shared/drivers/i2c/I2CDriver.h index 3ce150aa0..f017422ce 100644 --- a/src/shared/drivers/i2c/I2CDriver.h +++ b/src/shared/drivers/i2c/I2CDriver.h @@ -44,7 +44,7 @@ namespace Boardcore * * This is NOT a thread safe driver. The features supported are: * - Only Master logic; - * - Standard/Fast speed modes; + * - Standard, Fast and Fast plus (if supported) speed modes; * - 7bit addressing; * - Exposes basic read or write methods with the option for the write method to * not generate a STOP condition; @@ -62,7 +62,6 @@ public: READ = 1 }; - // [TODO] limit speed possibilities at compile time with ifdefs? enum Speed : uint8_t { STANDARD = 0, @@ -82,8 +81,8 @@ public: }; /** - * @brief Error enums with a value that makes it possible to or them and - * report more than one error at once + * @brief Error enums with a value that makes it possible to keep the + * "or-red" value to store more errors. */ enum Errors : uint16_t { -- GitLab