mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 17:23:25 +00:00
14 lines
566 B
C
14 lines
566 B
C
|
#include "subbrute_utils.h"
|
||
|
|
||
|
bool subbrute_is_frequency_allowed(SubBruteState* context) {
|
||
|
// I know you don't like it but laws are laws
|
||
|
// It's opensource so do whatever you want, but remember the risks :)
|
||
|
// (Yes, this comment is the only purpose of this function)
|
||
|
//bool r = furi_hal_region_is_frequency_allowed(context->frequency);
|
||
|
bool r = true;
|
||
|
if(!r) {
|
||
|
FURI_LOG_E(TAG, "Frequency %d is not allowed in your region", context->frequency);
|
||
|
notification_message(context->notify, &sequence_single_vibro);
|
||
|
}
|
||
|
return r;
|
||
|
}
|