diff --git a/fw/fpmath.h b/fw/fpmath.h index 927dace..3ae082b 100644 --- a/fw/fpmath.h +++ b/fw/fpmath.h @@ -4,6 +4,10 @@ #include #include +/* + * Minimal Fixed-Point math library implementation + */ + // This library depends on sign extension static_assert(-4 >> 1 == -2, ">> doesn't do sign extension"); diff --git a/fw/lib_i2c.h b/fw/lib_i2c.h index dd51640..c3bf8fd 100644 --- a/fw/lib_i2c.h +++ b/fw/lib_i2c.h @@ -1,10 +1,10 @@ -#ifndef _LIB_I2C_H -#define _LIB_I2C_H - // MIT License // Copyright (c) 2025 UniTheCat // Tested with Ch32X03x and CH32V30x +#ifndef _LIB_I2C_H +#define _LIB_I2C_H + #include diff --git a/fw/sc7a20.c b/fw/sc7a20.c index e2239cd..d787b95 100644 --- a/fw/sc7a20.c +++ b/fw/sc7a20.c @@ -1,3 +1,11 @@ +/* + * Register functions for the SC7A20 accellerometer + * Original Author: + * Ralim + * Created on: 18 Sep. 2020 + * https://github.com/Ralim/IronOS.git + */ + #include #include "lib_i2c.h" diff --git a/fw/sc7a20.h b/fw/sc7a20.h index 75b9f88..533418b 100644 --- a/fw/sc7a20.h +++ b/fw/sc7a20.h @@ -1,8 +1,9 @@ /* - * SC7A20_defines.h - * - * Created on: 18 Sep. 2020 - * Author: Ralim + * Defines for the SC7A20 accellerometer + * Original Author: + * Ralim + * Created on: 18 Sep. 2020 + * https://github.com/Ralim/IronOS.git */ #ifndef _SC7A20_H_