added debug print out

This commit is contained in:
Jakob Meier 2024-03-01 10:50:55 +01:00
parent 4a3135e1bd
commit 3f2d83d95c
4 changed files with 7 additions and 4 deletions

View File

@ -20,7 +20,7 @@ class SharedRingBuffer : public SystemObject, public SimpleRingBuffer {
* This constructor allocates a new internal buffer with the supplied size.
* @param size
* @param overwriteOld
* If the ring buffer is overflowing at a write operartion, the oldest data
* If the ring buffer is overflowing at a write operation, the oldest data
* will be overwritten.
*/
SharedRingBuffer(object_id_t objectId, const size_t size, bool overwriteOld,
@ -30,7 +30,7 @@ class SharedRingBuffer : public SystemObject, public SimpleRingBuffer {
* @param buffer
* @param size
* @param overwriteOld
* If the ring buffer is overflowing at a write operartion, the oldest data
* If the ring buffer is overflowing at a write operation, the oldest data
* will be overwritten.
*/
SharedRingBuffer(object_id_t objectId, uint8_t* buffer, const size_t size, bool overwriteOld,

View File

@ -3,7 +3,8 @@
ExtendedControllerBase::ExtendedControllerBase(object_id_t objectId, size_t commandQueueDepth)
: ControllerBase(objectId, commandQueueDepth),
poolManager(this, commandQueue),
actionHelper(this, commandQueue) {}
actionHelper(this, commandQueue) {
}
ExtendedControllerBase::~ExtendedControllerBase() = default;

View File

@ -94,7 +94,7 @@ class FreshDeviceHandlerBase : public SystemObject,
virtual void modeChanged(Mode_t mode, Submode_t submode);
/**
* The default implementation sets the new mode immediately. If this is not applicable for
* certain modes, the user should provide a custom implementation, which performs rougly
* certain modes, the user should provide a custom implementation, which performs roughly
* the same functionality of this function, when all the steps have been taken to reach the
* new mode.
*/

View File

@ -122,6 +122,8 @@ void ObjectManager::initialize() {
it.first, result);
#endif
errorCount++;
} else {
sif::printDebug("ObjectManager::initialize: Initialized onject with ID 0x%x\n", it.first);
}
}
if (errorCount > 0) {