1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 20:49:49 +04:00

Merge remote-tracking branch 'OFW/dev' into dev

This commit is contained in:
MX
2025-02-11 22:36:46 +03:00
2 changed files with 2 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ bool furi_record_exists(const char* name) {
void furi_record_create(const char* name, void* data) { void furi_record_create(const char* name, void* data) {
furi_check(furi_record); furi_check(furi_record);
furi_check(name); furi_check(name);
furi_check(data);
furi_record_lock(); furi_record_lock();

View File

@@ -27,7 +27,7 @@ bool furi_record_exists(const char* name);
/** Create record /** Create record
* *
* @param name record name * @param name record name
* @param data data pointer * @param data data pointer (not NULL)
* @note Thread safe. Create and destroy must be executed from the same * @note Thread safe. Create and destroy must be executed from the same
* thread. * thread.
*/ */