mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
add missing void
This commit is contained in:
parent
ae84992f25
commit
a6aa441edc
3 changed files with 12 additions and 12 deletions
|
@ -15,7 +15,7 @@ const FuriHalRegion furi_hal_region_zero = {
|
||||||
|
|
||||||
static const FuriHalRegion* furi_hal_region = NULL;
|
static const FuriHalRegion* furi_hal_region = NULL;
|
||||||
|
|
||||||
const FuriHalRegion* furi_hal_region_get() {
|
const FuriHalRegion* furi_hal_region_get(void) {
|
||||||
return &furi_hal_region_zero;
|
return &furi_hal_region_zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,10 +44,10 @@ bool furi_hal_region_is_frequency_allowed(uint32_t frequency) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool furi_hal_region_is_provisioned() {
|
bool furi_hal_region_is_provisioned(void) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_region_get_name() {
|
const char* furi_hal_region_get_name(void) {
|
||||||
return "00";
|
return "00";
|
||||||
}
|
}
|
||||||
|
|
|
@ -258,19 +258,19 @@ uint8_t furi_hal_version_get_hw_connect(void) {
|
||||||
return furi_hal_version.board_connect;
|
return furi_hal_version.board_connect;
|
||||||
}
|
}
|
||||||
|
|
||||||
FuriHalVersionRegion furi_hal_version_get_hw_region() {
|
FuriHalVersionRegion furi_hal_version_get_hw_region(void) {
|
||||||
return FuriHalVersionRegionUnknown;
|
return FuriHalVersionRegionUnknown;
|
||||||
}
|
}
|
||||||
|
|
||||||
FuriHalVersionRegion furi_hal_version_get_hw_region_otp() {
|
FuriHalVersionRegion furi_hal_version_get_hw_region_otp(void) {
|
||||||
return furi_hal_version.board_region;
|
return furi_hal_version.board_region;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_hw_region_name() {
|
const char* furi_hal_version_get_hw_region_name(void) {
|
||||||
return "R00";
|
return "R00";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_hw_region_name_otp() {
|
const char* furi_hal_version_get_hw_region_name_otp(void) {
|
||||||
switch(furi_hal_version_get_hw_region_otp()) {
|
switch(furi_hal_version_get_hw_region_otp()) {
|
||||||
case FuriHalVersionRegionUnknown:
|
case FuriHalVersionRegionUnknown:
|
||||||
return "R00";
|
return "R00";
|
||||||
|
@ -318,11 +318,11 @@ size_t furi_hal_version_uid_size(void) {
|
||||||
return 64 / 8;
|
return 64 / 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint8_t* furi_hal_version_uid_default() {
|
const uint8_t* furi_hal_version_uid_default(void) {
|
||||||
return (const uint8_t*)UID64_BASE;
|
return (const uint8_t*)UID64_BASE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint8_t* furi_hal_version_uid() {
|
const uint8_t* furi_hal_version_uid(void) {
|
||||||
if(version_get_custom_name(NULL) != NULL) {
|
if(version_get_custom_name(NULL) != NULL) {
|
||||||
return (const uint8_t*)&(*((uint32_t*)version_get_custom_name(NULL)));
|
return (const uint8_t*)&(*((uint32_t*)version_get_custom_name(NULL)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,13 +157,13 @@ const char* furi_hal_version_get_hw_region_name(void);
|
||||||
*
|
*
|
||||||
* @return Hardware Region
|
* @return Hardware Region
|
||||||
*/
|
*/
|
||||||
FuriHalVersionRegion furi_hal_version_get_hw_region_otp();
|
FuriHalVersionRegion furi_hal_version_get_hw_region_otp(void);
|
||||||
|
|
||||||
/** Get hardware region name (OTP)
|
/** Get hardware region name (OTP)
|
||||||
*
|
*
|
||||||
* @return Hardware Region name
|
* @return Hardware Region name
|
||||||
*/
|
*/
|
||||||
const char* furi_hal_version_get_hw_region_name_otp();
|
const char* furi_hal_version_get_hw_region_name_otp(void);
|
||||||
|
|
||||||
/** Get hardware display id
|
/** Get hardware display id
|
||||||
*
|
*
|
||||||
|
@ -223,7 +223,7 @@ size_t furi_hal_version_uid_size(void);
|
||||||
*/
|
*/
|
||||||
const uint8_t* furi_hal_version_uid(void);
|
const uint8_t* furi_hal_version_uid(void);
|
||||||
|
|
||||||
const uint8_t* furi_hal_version_uid_default();
|
const uint8_t* furi_hal_version_uid_default(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue