mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
- `TT_LOG_*` macros are replaced by `Logger` via `#include<Tactility/Logger.h>` - Changed default timezone to Europe/Amsterdam - Fix for logic bug in unPhone hardware - Fix for init/deinit in DRV2605 driver - Other fixes - Removed optimization that broke unPhone (disabled the moving of heap-related functions to flash)
21 lines
565 B
C
21 lines
565 B
C
/**
|
|
* Contains common log messages.
|
|
* This helps to keep the binary smaller.
|
|
*/
|
|
#pragma once
|
|
|
|
// Crashes
|
|
#define LOG_MESSAGE_ILLEGAL_STATE "Illegal state"
|
|
|
|
// Alloc
|
|
#define LOG_MESSAGE_ALLOC_FAILED "Out of memory"
|
|
#define LOG_MESSAGE_ALLOC_FAILED_FMT "Out of memory (failed to allocated {} bytes)"
|
|
|
|
// Mutex
|
|
#define LOG_MESSAGE_MUTEX_LOCK_FAILED "Mutex acquisition timeout"
|
|
#define LOG_MESSAGE_MUTEX_LOCK_FAILED_FMT "Mutex acquisition timeout ({})"
|
|
|
|
// Power on
|
|
#define LOG_MESSAGE_POWER_ON_START "Power on"
|
|
#define LOG_MESSAGE_POWER_ON_FAILED "Power on failed"
|