Bump firmware - permitting output at boot for systems with GPIO14 hooked to "enable audio"
This commit is contained in:
parent
b786fd1f45
commit
da75b5456b
Binary file not shown.
Binary file not shown.
|
@ -53,7 +53,6 @@ static void NewFrame()
|
||||||
{
|
{
|
||||||
if( !COLORCHORD_ACTIVE ) return;
|
if( !COLORCHORD_ACTIVE ) return;
|
||||||
|
|
||||||
//uint8_t led_outs[NUM_LIN_LEDS*3];
|
|
||||||
int i;
|
int i;
|
||||||
HandleFrameInfo();
|
HandleFrameInfo();
|
||||||
|
|
||||||
|
@ -67,7 +66,6 @@ static void NewFrame()
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
||||||
//SendSPI2812( ledOut, NUM_LIN_LEDS );
|
|
||||||
ws2812_push( ledOut, USE_NUM_LIN_LEDS * 3 );
|
ws2812_push( ledOut, USE_NUM_LIN_LEDS * 3 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,6 +173,10 @@ void ICACHE_FLASH_ATTR user_init(void)
|
||||||
GPIO_OUTPUT_SET(GPIO_ID_PIN(0), 0);
|
GPIO_OUTPUT_SET(GPIO_ID_PIN(0), 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//Tricky: New recommendation is to connect GPIO14 to vcc for audio circuitry, so we turn this on by default.
|
||||||
|
GPIO_OUTPUT_SET( GPIO_ID_PIN(14), 1);
|
||||||
|
PIN_FUNC_SELECT( PERIPHS_IO_MUX_MTMS_U, 3 );
|
||||||
|
|
||||||
CSPreInit();
|
CSPreInit();
|
||||||
|
|
||||||
pUdpServer = (struct espconn *)os_zalloc(sizeof(struct espconn));
|
pUdpServer = (struct espconn *)os_zalloc(sizeof(struct espconn));
|
||||||
|
|
Loading…
Reference in a new issue