diff --git a/targets/f7/furi_hal/furi_hal_region.c b/targets/f7/furi_hal/furi_hal_region.c index 0f0cb855c..c8af57a19 100644 --- a/targets/f7/furi_hal/furi_hal_region.c +++ b/targets/f7/furi_hal/furi_hal_region.c @@ -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"; } diff --git a/targets/f7/furi_hal/furi_hal_version.c b/targets/f7/furi_hal/furi_hal_version.c index b0da5f4b1..06e908f11 100644 --- a/targets/f7/furi_hal/furi_hal_version.c +++ b/targets/f7/furi_hal/furi_hal_version.c @@ -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))); } diff --git a/targets/furi_hal_include/furi_hal_version.h b/targets/furi_hal_include/furi_hal_version.h index e506741ba..ca870ad66 100644 --- a/targets/furi_hal_include/furi_hal_version.h +++ b/targets/furi_hal_include/furi_hal_version.h @@ -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 }