Logo
Explore Help
Register Sign In
rbxii3/firmware
1
0
Fork 0
You've already forked firmware
mirror of https://github.com/meshtastic/firmware.git synced 2026-01-20 08:47:31 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
ec8671748be3b5c93234abc4ddfbea679d74d5e9
firmware/src/memGet.h

19 lines
251 B
C
Raw Normal View History

- Abstract the memory stats into its own class. - Fix a bug with debug mqtt - nrf52 needs more love, there's a strange error while linking. Help appreciated
2023-02-17 12:31:51 +01:00
#pragma once
#ifndef _MT_MEMGET_H
#define _MT_MEMGET_H
#include <Arduino.h>
Revert "add a .clang-format file (#9154)" (#9172) I thought git would be smart enough to understand all the whitespace changes but even with all the flags I know to make it ignore theses it still blows up if there are identical changes on both sides. I have a solution but it require creating a new commit at the merge base for each conflicting PR and merging it into develop. I don't think blowing up all PRs is worth for now, maybe if we can coordinate this for V3 let's say. This reverts commit 0d11331d185a60adf84e64ec98642baf6a15a95a.
2026-01-04 12:15:53 +01:00
class MemGet
{
public:
uint32_t getFreeHeap();
uint32_t getHeapSize();
uint32_t getFreePsram();
uint32_t getPsramSize();
- Abstract the memory stats into its own class. - Fix a bug with debug mqtt - nrf52 needs more love, there's a strange error while linking. Help appreciated
2023-02-17 12:31:51 +01:00
};
extern MemGet memGet;
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 211ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API