mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 15:16:37 +00:00
preen
This commit is contained in:
parent
5b7ed4f419
commit
3843e4011f
@ -6,7 +6,6 @@ namespace esphome {
|
|||||||
namespace sdl {
|
namespace sdl {
|
||||||
|
|
||||||
void Sdl::setup() {
|
void Sdl::setup() {
|
||||||
ESP_LOGD(TAG, "Starting setup");
|
|
||||||
SDL_Init(SDL_INIT_VIDEO);
|
SDL_Init(SDL_INIT_VIDEO);
|
||||||
this->window_ = SDL_CreateWindow(App.get_name().c_str(), this->pos_x_, this->pos_y_, this->width_, this->height_,
|
this->window_ = SDL_CreateWindow(App.get_name().c_str(), this->pos_x_, this->pos_y_, this->width_, this->height_,
|
||||||
this->window_options_);
|
this->window_options_);
|
||||||
|
@ -8,7 +8,6 @@ namespace esphome {
|
|||||||
namespace usb_host {
|
namespace usb_host {
|
||||||
|
|
||||||
void USBHost::setup() {
|
void USBHost::setup() {
|
||||||
ESP_LOGCONFIG(TAG, "Setup starts");
|
|
||||||
usb_host_config_t config{};
|
usb_host_config_t config{};
|
||||||
|
|
||||||
if (usb_host_install(&config) != ESP_OK) {
|
if (usb_host_install(&config) != ESP_OK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user