corrected a bit of overzealous tidying

This commit is contained in:
Gareth Coleman
2024-04-22 17:21:41 +01:00
parent 6669b22db3
commit ccbf635eef
5 changed files with 17 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ build_unflags =
-D ARDUINO_USB_MODE
build_flags = ${esp32_base.build_flags}
-D BOARD_HAS_PSRAM
;-D BOARD_HAS_PSRAM // what's up with this - doesn't seem to be recognised at boot
-D UNPHONE
-I variants/unphone
-D ARDUINO_USB_MODE=0

View File

@@ -1,16 +1,7 @@
// meshtastic/firmware/variants/unphone/variant.h
#pragma once
// RGB LED configuration
#define HAS_NEOPIXEL // Enable the use of neopixels
#define NEOPIXEL_COUNT 1 // How many neopixels are connected
#define NEOPIXEL_DATA A0 // gpio pin used to send data to the neopixels
#define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // type of neopixels in use
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products)
// NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products)
#define SPI_SCK 39
#define SPI_MOSI 40
#define SPI_MISO 41
@@ -47,7 +38,7 @@
#define SCREEN_TRANSITION_FRAMERATE 5
#define HAS_TOUCHSCREEN 1
#define USE_XPT2046
#define USE_XPT2046 1
#define TOUCH_CS 38
#define HAS_GPS \