better naming for parameter #26
|
@ -16,9 +16,37 @@
|
||||||
#cmakedefine FSFW_ADD_MONITORING
|
#cmakedefine FSFW_ADD_MONITORING
|
||||||
#cmakedefine FSFW_ADD_SGP4_PROPAGATOR
|
#cmakedefine FSFW_ADD_SGP4_PROPAGATOR
|
||||||
|
|
||||||
|
// FSFW core defines
|
||||||
|
|
||||||
|
#ifndef FSFW_CPP_OSTREAM_ENABLED
|
||||||
|
#define FSFW_CPP_OSTREAM_ENABLED 1
|
||||||
|
#endif /* FSFW_CPP_OSTREAM_ENABLED */
|
||||||
|
|
||||||
|
#ifndef FSFW_VERBOSE_LEVEL
|
||||||
|
#define FSFW_VERBOSE_LEVEL 1
|
||||||
|
#endif /* FSFW_VERBOSE_LEVEL */
|
||||||
|
|
||||||
|
#ifndef FSFW_USE_REALTIME_FOR_LINUX
|
||||||
|
#define FSFW_USE_REALTIME_FOR_LINUX 0
|
||||||
|
#endif /* FSFW_USE_REALTIME_FOR_LINUX */
|
||||||
|
|
||||||
|
#ifndef FSFW_NO_C99_IO
|
||||||
|
#define FSFW_NO_C99_IO 0
|
||||||
|
#endif /* FSFW_NO_C99_IO */
|
||||||
|
|
||||||
|
#ifndef FSFW_USE_PUS_C_TELEMETRY
|
||||||
|
#define FSFW_USE_PUS_C_TELEMETRY 1
|
||||||
|
#endif /* FSFW_USE_PUS_C_TELEMETRY */
|
||||||
|
|
||||||
|
#ifndef FSFW_USE_PUS_C_TELECOMMANDS
|
||||||
|
#define FSFW_USE_PUS_C_TELECOMMANDS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// FSFW HAL defines
|
||||||
|
|
||||||
// Can be used for low-level debugging of the SPI bus
|
// Can be used for low-level debugging of the SPI bus
|
||||||
#ifndef FSFW_HAL_SPI_WIRETAPPING
|
#ifndef FSFW_HAL_SPI_WIRETAPPING
|
||||||
#define FSFW_HAL_SPI_WIRETAPPING 0
|
#define FSFW_HAL_SPI_WIRETAPPING 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FSFW_HAL_L3GD20_GYRO_DEBUG
|
#ifndef FSFW_HAL_L3GD20_GYRO_DEBUG
|
||||||
|
|
|
@ -22,9 +22,9 @@ public:
|
||||||
* @param number
|
* @param number
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
static constexpr ReturnValue_t makeReturnCode(uint8_t interfaceId,
|
static constexpr ReturnValue_t makeReturnCode(uint8_t classId,
|
||||||
uint8_t number) {
|
uint8_t number) {
|
||||||
return (static_cast<ReturnValue_t>(interfaceId) << 8) + number;
|
return (static_cast<ReturnValue_t>(classId) << 8) + number;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user