mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Added -Wundef to compiler options (#3815)
* fbt: added -Wundef to compiler options; libs: various small fixes for missing defines; desktop: proper access to current RTOS config * apps: fixes for FURI_DEBUG handling * rpc: unified definition checks * Cleanup various defines use * Cleanup configs and move SVCall ISR priority configuration to furi_hal_interrupts Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if BITS_BIG_ENDIAN == 1
|
||||
#error Bit structures defined in this file is not portable to BE
|
||||
#if defined(BITS_BIG_ENDIAN) && BITS_BIG_ENDIAN == 1
|
||||
#error Bit structures defined in this file are not portable to BE
|
||||
#endif
|
||||
|
||||
#define BQ25896_ADDRESS 0xD6
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#if BITS_BIG_ENDIAN == 1
|
||||
#error Bit structures defined in this file is not portable to BE
|
||||
#if defined(BITS_BIG_ENDIAN) && BITS_BIG_ENDIAN == 1
|
||||
#error Bit structures defined in this file are not portable to BE
|
||||
#endif
|
||||
|
||||
#define LP5562_ADDRESS 0x60
|
||||
|
||||
Reference in New Issue
Block a user