max2837: get rid of test(), since we're starting to do real commands

This commit is contained in:
Will Code
2012-06-08 10:50:55 -04:00
parent 998352a3a3
commit d077cf9ca1

View File

@ -210,22 +210,11 @@ void max2837_set_frequency(uint32_t freq)
} }
#ifdef TEST #ifdef TEST
uint16_t test(void)
{
LOG("# test\n");
uint16_t t = get_MAX2837_Lbias();
set_MAX2837_Lbias(MAX2837_Lbias_NOMINAL);
set_MAX2837_Mbias(MAX2837_Mbias_NOMINAL);
max2837_regs_commit();
return t;
}
int main(int ac, char **av) int main(int ac, char **av)
{ {
max2837_init(); max2837_init();
max2837_start(); max2837_start();
max2837_tx(); max2837_tx();
test();
max2837_set_frequency(2441000000); max2837_set_frequency(2441000000);
max2837_stop(); max2837_stop();
} }