mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Change webcam driver number
Change webcam driver number as ESP32 driver only starting now from 81.
This commit is contained in:
parent
0ca5bf4e41
commit
2fbad7b389
@ -169,3 +169,5 @@
|
||||
| USE_DISPLAY_ILI9488 | - | - | - | - | - | - | - |
|
||||
| USE_DISPLAY_SSD1351 | - | - | - | - | - | - | - |
|
||||
| USE_DISPLAY_RA8876 | - | - | - | - | - | - | - |
|
||||
| | | | | | | | |
|
||||
| USE_WEBCAM | - | - | - | - | - | - | - | ESP32 only
|
||||
|
@ -587,6 +587,7 @@ void GetFeatures(void)
|
||||
// feature6 |= 0x10000000;
|
||||
// feature6 |= 0x20000000;
|
||||
// feature6 |= 0x40000000;
|
||||
// feature6 |= 0x80000000;
|
||||
|
||||
#ifdef USE_WEBCAM
|
||||
feature6 |= 0x80000000;
|
||||
#endif
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
xdrv_39_webcam.ino - ESP32 webcam support for Tasmota
|
||||
xdrv_81_webcam.ino - ESP32 webcam support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Gerhard Mutz and Theo Arends
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
* board_build.f_cpu = 240000000L
|
||||
\*********************************************************************************************/
|
||||
|
||||
#define XDRV_39 39
|
||||
#define XDRV_81 81
|
||||
|
||||
#define CAMERA_MODEL_AI_THINKER
|
||||
|
||||
@ -867,7 +867,7 @@ void CmndWebcam(void) {
|
||||
* Interface
|
||||
\*********************************************************************************************/
|
||||
|
||||
bool Xdrv39(uint8_t function) {
|
||||
bool Xdrv81(uint8_t function) {
|
||||
bool result = false;
|
||||
|
||||
switch (function) {
|
Loading…
x
Reference in New Issue
Block a user