add missing void

This commit is contained in:
MX 2024-03-25 23:20:48 +03:00
parent ae84992f25
commit a6aa441edc
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83
3 changed files with 12 additions and 12 deletions

View File

@ -15,7 +15,7 @@ const FuriHalRegion furi_hal_region_zero = {
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;
}
@ -44,10 +44,10 @@ bool furi_hal_region_is_frequency_allowed(uint32_t frequency) {
return true;
}
bool furi_hal_region_is_provisioned() {
bool furi_hal_region_is_provisioned(void) {
return true;
}
const char* furi_hal_region_get_name() {
const char* furi_hal_region_get_name(void) {
return "00";
}

View File

@ -258,19 +258,19 @@ uint8_t furi_hal_version_get_hw_connect(void) {
return furi_hal_version.board_connect;
}
FuriHalVersionRegion furi_hal_version_get_hw_region() {
FuriHalVersionRegion furi_hal_version_get_hw_region(void) {
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;
}
const char* furi_hal_version_get_hw_region_name() {
const char* furi_hal_version_get_hw_region_name(void) {
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()) {
case FuriHalVersionRegionUnknown:
return "R00";
@ -318,11 +318,11 @@ size_t furi_hal_version_uid_size(void) {
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;
}
const uint8_t* furi_hal_version_uid() {
const uint8_t* furi_hal_version_uid(void) {
if(version_get_custom_name(NULL) != NULL) {
return (const uint8_t*)&(*((uint32_t*)version_get_custom_name(NULL)));
}

View File

@ -157,13 +157,13 @@ const char* furi_hal_version_get_hw_region_name(void);
*
* @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)
*
* @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
*
@ -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_default();
const uint8_t* furi_hal_version_uid_default(void);
#ifdef __cplusplus
}