mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 06:49:24 -05:00
Update main.cpp
Remove initial short wrong Ant-DC_BIAS pulse. (250 msegs aprox)
This commit is contained in:
parent
f12eb55f6b
commit
b335886f42
@ -140,6 +140,9 @@ Continuous (Fox-oring)
|
|||||||
#include "sd_card.hpp"
|
#include "sd_card.hpp"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "rffc507x.hpp" /* c/m, avoiding initial short ON Ant_DC_Bias pulse, from cold reset */
|
||||||
|
rffc507x::RFFC507x first_if;
|
||||||
|
|
||||||
static void event_loop() {
|
static void event_loop() {
|
||||||
ui::Context context;
|
ui::Context context;
|
||||||
@ -160,6 +163,7 @@ static void event_loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
|
first_if.init(); /* To avoid initial short Ant_DC_Bias pulse ,we need quick set up GP01_RFF507X =1 */
|
||||||
if( portapack::init() ) {
|
if( portapack::init() ) {
|
||||||
portapack::display.init();
|
portapack::display.init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user