This commit is contained in:
Willy-JL
2023-05-31 18:49:42 +01:00
parent 92ee646b10
commit 499049dc46
18 changed files with 137 additions and 105 deletions

View File

@@ -5,11 +5,11 @@ App(
entry_point="uart_echo_app",
cdefines=["APP_QRCODE"],
requires=["gui"],
stack_size=8*1024,
stack_size=8 * 1024,
order=1,
fap_icon="icon.png",
fap_category="GPIO",
fap_description="ESP32-CAM simple app to start a remote camera. [Unplug the USB cable to test with Mayhem]",
fap_author="eried",
fap_weburl="https://flipper.ried.cl"
fap_icon="icon.png",
fap_category="GPIO",
fap_description="ESP32-CAM simple app to start a remote camera. [Unplug the USB cable to test with Mayhem]",
fap_author="eried",
fap_weburl="https://flipper.ried.cl",
)

View File

@@ -179,9 +179,8 @@ static UartEchoApp* uart_echo_app_alloc() {
furi_delay_ms(200);
furi_hal_power_enable_external_3_3v();
furi_hal_power_enable_otg();
for(int i=0;i<2;i++)
{
furi_delay_ms(500);
for(int i = 0; i < 2; i++) {
furi_delay_ms(500);
furi_hal_uart_tx(FuriHalUartIdUSART1, (uint8_t[1]){'n'}, 1);
}
furi_delay_ms(1);