mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 19:15:49 +00:00
Fix manufacturer name on Seeed Xiao S3 WIO
This commit is contained in:
13
variants/xiao_s3_wio/XiaoS3WIOBoard.h
Normal file
13
variants/xiao_s3_wio/XiaoS3WIOBoard.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <helpers/ESP32Board.h>
|
||||
|
||||
class XiaoS3WIOBoard : public ESP32Board {
|
||||
public:
|
||||
XiaoS3WIOBoard() { }
|
||||
|
||||
const char* getManufacturerName() const override {
|
||||
return "Xiao S3 WIO";
|
||||
}
|
||||
};
|
||||
@@ -1,7 +1,8 @@
|
||||
#include <Arduino.h>
|
||||
#include "target.h"
|
||||
#include "XiaoS3WIOBoard.h"
|
||||
|
||||
ESP32Board board;
|
||||
XiaoS3WIOBoard board;
|
||||
|
||||
#if defined(P_LORA_SCLK)
|
||||
static SPIClass spi;
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
#include <helpers/ui/SSD1306Display.h>
|
||||
#include <helpers/ui/MomentaryButton.h>
|
||||
#endif
|
||||
#include "XiaoS3WIOBoard.h"
|
||||
|
||||
extern ESP32Board board;
|
||||
extern XiaoS3WIOBoard board;
|
||||
extern WRAPPER_CLASS radio_driver;
|
||||
extern AutoDiscoverRTCClock rtc_clock;
|
||||
extern SensorManager sensors;
|
||||
|
||||
Reference in New Issue
Block a user