mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-04 19:27:23 -05:00
Move LIMIT macro to utils
This commit is contained in:
parent
1c60b8b63f
commit
e35a9eecec
@ -4,6 +4,7 @@
|
||||
#include "setup.h"
|
||||
#include "settings.h"
|
||||
#include "ubitx.h"
|
||||
#include "utils.h"
|
||||
|
||||
/** Menus
|
||||
* The Radio menus are accessed by tapping on the function button.
|
||||
@ -139,8 +140,6 @@ void runSetting(const SettingScreen_t* const p_screen)
|
||||
screen.Finalize(last_value);
|
||||
}
|
||||
|
||||
#define LIMIT(val,min,max) ((val) < (min)) ? (min) : (((max) < (val)) ? (max) : (val))
|
||||
|
||||
//Local Oscillator
|
||||
void ssLocalOscInitialize(long int* start_value_out){
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user