Skip to content

Commit c6cafff

Browse files
authored
feat(hid-rp): Update Gamepad Implementation (#173)
* feat(hid-rp): Update Gamepad Implementation * Update Gamepad implementation to have cleaner / easier to read report descriptor * Update gamepad implementation to remove application collection, so that it can be used alongside other reports * Added GamepadLedOutputReport as an example output report for handling Gamepad LEDs * Updated hid-rp and hid-service exmaple to use new interfaces and class names for gamepad (input and leds) and to shwo use of combining multiple reports together into an application collection * Minor updates to configuration for gamepad input report examples to work on both iOS and Android (ensuring the size of the report matches the expected size from the descriptor - no extra padding bytes at the end) * Add includes for battery_system, consumer, generic_device, leds, and physical_input_device so they are more easily accessible to other code * Update logging of example to make it clearer what is happening and make it easier to debug / validate. * doc: rebuild * readme: update * readme: udpate
1 parent 5c90146 commit c6cafff

File tree

104 files changed

+636
-380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+636
-380
lines changed

Diff for: components/hid-rp/example/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ See the Getting Started Guide for full steps to configure and use ESP-IDF to bui
3030

3131
## Example Output
3232

33-
![CleanShot 2024-02-28 at 16 38 11](https://github.com/esp-cpp/espp/assets/213467/d86a5977-5db1-44bc-9df9-fcbb751392a5)
33+
![CleanShot 2024-03-08 at 10 41 32](https://github.com/esp-cpp/espp/assets/213467/f0d27a49-948c-436d-9e89-d4a9ab62db42)

Diff for: components/hid-rp/example/main/hid_rp_example.cpp

+19-8
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,36 @@ extern "C" void app_main(void) {
1313
logger.info("Starting");
1414

1515
//! [hid rp example]
16-
static constexpr uint8_t report_id = 1;
16+
static constexpr uint8_t input_report_id = 1;
1717
static constexpr size_t num_buttons = 15;
1818
static constexpr int joystick_min = 0;
19-
static constexpr int joystick_max = 65535;
19+
static constexpr int joystick_max = 65534;
2020
static constexpr int trigger_min = 0;
21-
static constexpr int trigger_max = 1024;
21+
static constexpr int trigger_max = 1023;
2222

23-
using Gamepad = espp::GamepadReport<num_buttons, joystick_min, joystick_max, trigger_min,
24-
trigger_max, report_id>;
25-
Gamepad gamepad_input_report;
23+
using GamepadInput = espp::GamepadInputReport<num_buttons, joystick_min, joystick_max,
24+
trigger_min, trigger_max, input_report_id>;
25+
GamepadInput gamepad_input_report;
26+
27+
static constexpr uint8_t output_report_id = 2;
28+
static constexpr size_t num_leds = 4;
29+
using GamepadLeds = espp::GamepadLedOutputReport<num_leds, output_report_id>;
30+
GamepadLeds gamepad_leds_report;
31+
32+
using namespace hid::page;
33+
using namespace hid::rdf;
34+
auto raw_descriptor = descriptor(usage_page<generic_desktop>(), usage(generic_desktop::GAMEPAD),
35+
collection::application(gamepad_input_report.get_descriptor(),
36+
gamepad_leds_report.get_descriptor()));
2637

2738
// Generate the report descriptor for the gamepad
28-
auto descriptor = gamepad_input_report.get_descriptor();
39+
auto descriptor = std::vector<uint8_t>(raw_descriptor.begin(), raw_descriptor.end());
2940

3041
logger.info("Report Descriptor:");
3142
logger.info(" Size: {}", descriptor.size());
3243
logger.info(" Data: {::#02x}", descriptor);
3344

34-
Gamepad::Hat hat = Gamepad::Hat::UP_RIGHT;
45+
GamepadInput::Hat hat = GamepadInput::Hat::UP_RIGHT;
3546
int button_index = 5;
3647
float angle = 2.0f * M_PI * button_index / num_buttons;
3748

Diff for: components/hid-rp/include/hid-rp-gamepad.hpp

+169-81
Large diffs are not rendered by default.

Diff for: components/hid-rp/include/hid-rp.hpp

+5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
#include <vector>
99

1010
// generated from intergatedcircuits/hid-usage-tables
11+
#include "hid/page/battery_system.hpp"
1112
#include "hid/page/button.hpp"
13+
#include "hid/page/consumer.hpp"
1214
#include "hid/page/generic_desktop.hpp"
15+
#include "hid/page/generic_device.hpp"
16+
#include "hid/page/leds.hpp"
17+
#include "hid/page/physical_input_device.hpp"
1318
#include "hid/page/simulation.hpp"
1419

1520
// from intergatedcircuits/hid-rp library

Diff for: components/hid_service/example/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ This example shows how to use the `espp::HidService` class together with the
55
an HID service. It uses the `hid-rp` component's `espp::GamepadReport<>` to
66
define a HID gamepad report descriptor and generate input reports.
77

8-
https://github.com/esp-cpp/espp/assets/213467/20ff49e3-42e2-4e69-9c91-d1926071f665
8+
https://github.com/esp-cpp/espp/assets/213467/36d3d04d-1d8e-4b1d-9661-4ce115c7e9cc
9+
10+
https://github.com/esp-cpp/espp/assets/213467/fd64e526-8c63-4456-8235-056edb418135
11+
912

1013
## How to use example
1114

Diff for: components/hid_service/example/main/hid_service_example.cpp

+31-11
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using namespace std::chrono_literals;
1010

1111
extern "C" void app_main(void) {
12-
espp::Logger logger({.tag = "Hid Service Example", .level = espp::Logger::Verbosity::INFO});
12+
espp::Logger logger({.tag = "Hid Service Example", .level = espp::Logger::Verbosity::DEBUG});
1313
logger.info("Starting");
1414

1515
//! [hid service example]
@@ -51,7 +51,6 @@ extern "C" void app_main(void) {
5151
bool secure_connections = true;
5252
ble_gatt_server.set_security(bonding, mitm, secure_connections);
5353
// and some i/o and key config
54-
NimBLEDevice::setSecurityPasskey(123456);
5554
ble_gatt_server.set_io_capabilities(BLE_HS_IO_NO_INPUT_OUTPUT);
5655
ble_gatt_server.set_init_key_distribution(BLE_SM_PAIR_KEY_DIST_ENC | BLE_SM_PAIR_KEY_DIST_ID);
5756
ble_gatt_server.set_resp_key_distribution(BLE_SM_PAIR_KEY_DIST_ENC | BLE_SM_PAIR_KEY_DIST_ID);
@@ -65,19 +64,30 @@ extern "C" void app_main(void) {
6564
uint8_t hid_info_flags = 0x01;
6665
hid_service.set_info(country_code, hid_info_flags);
6766

68-
static constexpr uint8_t report_id = 1;
67+
static constexpr uint8_t input_report_id = 1;
6968
static constexpr size_t num_buttons = 15;
7069
static constexpr int joystick_min = 0;
71-
static constexpr int joystick_max = 65535;
70+
static constexpr int joystick_max = 65534;
7271
static constexpr int trigger_min = 0;
73-
static constexpr int trigger_max = 1024;
72+
static constexpr int trigger_max = 1023;
7473

75-
using Gamepad = espp::GamepadReport<num_buttons, joystick_min, joystick_max, trigger_min,
76-
trigger_max, report_id>;
77-
Gamepad gamepad_input_report;
74+
using GamepadInput = espp::GamepadInputReport<num_buttons, joystick_min, joystick_max,
75+
trigger_min, trigger_max, input_report_id>;
76+
GamepadInput gamepad_input_report;
77+
78+
static constexpr uint8_t output_report_id = 2;
79+
static constexpr size_t num_leds = 4;
80+
using GamepadLeds = espp::GamepadLedOutputReport<num_leds, output_report_id>;
81+
GamepadLeds gamepad_leds_report;
82+
83+
using namespace hid::page;
84+
using namespace hid::rdf;
85+
auto raw_descriptor = descriptor(usage_page<generic_desktop>(), usage(generic_desktop::GAMEPAD),
86+
collection::application(gamepad_input_report.get_descriptor(),
87+
gamepad_leds_report.get_descriptor()));
7888

7989
// Generate the report descriptor for the gamepad
80-
auto descriptor = gamepad_input_report.get_descriptor();
90+
auto descriptor = std::vector<uint8_t>(raw_descriptor.begin(), raw_descriptor.end());
8191

8292
logger.info("Report Descriptor:");
8393
logger.info(" Size: {}", descriptor.size());
@@ -87,7 +97,10 @@ extern "C" void app_main(void) {
8797
hid_service.set_report_map(descriptor);
8898

8999
// use the HID service to make an input report characteristic
90-
auto input_report = hid_service.input_report(report_id);
100+
auto input_report = hid_service.input_report(input_report_id);
101+
102+
// use the HID service to make an output report characteristic
103+
auto output_report = hid_service.output_report(output_report_id);
91104

92105
// now that we've made the input characteristic, we can start the service
93106
hid_service.start();
@@ -144,7 +157,7 @@ extern "C" void app_main(void) {
144157
battery_level = (battery_level % 100) + 1;
145158

146159
// cycle through the possible d-pad states
147-
Gamepad::Hat hat = (Gamepad::Hat)button_index;
160+
GamepadInput::Hat hat = (GamepadInput::Hat)button_index;
148161
// use the button index to set the position of the right joystick
149162
float angle = 2.0f * M_PI * button_index / num_buttons;
150163

@@ -158,6 +171,13 @@ extern "C" void app_main(void) {
158171
gamepad_input_report.set_accelerator(std::abs(sin(angle)));
159172
gamepad_input_report.set_brake(std::abs(cos(angle)));
160173

174+
logger.debug("Setting left joystick: ({:.1f}, {:.1f})", sin(angle), cos(angle));
175+
logger.debug("Setting right joystick: ({:.1f}, {:.1f})", cos(angle), sin(angle));
176+
logger.debug("Setting brake: {:.1f}", std::abs(cos(angle)));
177+
logger.debug("Setting accelerator: {:.1f}", std::abs(sin(angle)));
178+
logger.debug("Setting hat: {}", (int)hat);
179+
logger.debug("Setting button: {}", button_index);
180+
161181
button_index = (button_index % num_buttons) + 1;
162182

163183
// send an input report

Diff for: docs/adc/adc_types.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
<li><a href="index.html">ADC APIs</a> &raquo;</li>
151151
<li>ADC Types</li>
152152
<li class="wy-breadcrumbs-aside">
153-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/adc_types.rst" class="fa fa-github"> Edit on GitHub</a>
153+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/adc_types.rst" class="fa fa-github"> Edit on GitHub</a>
154154
</li>
155155
</ul>
156156
<hr/>

Diff for: docs/adc/ads1x15.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<li><a href="index.html">ADC APIs</a> &raquo;</li>
152152
<li>ADS1x15 I2C ADC</li>
153153
<li class="wy-breadcrumbs-aside">
154-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/ads1x15.rst" class="fa fa-github"> Edit on GitHub</a>
154+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/ads1x15.rst" class="fa fa-github"> Edit on GitHub</a>
155155
</li>
156156
</ul>
157157
<hr/>
@@ -168,7 +168,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
168168
<section id="header-file">
169169
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
170170
<ul class="simple">
171-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/ads1x15/include/ads1x15.hpp">components/ads1x15/include/ads1x15.hpp</a></p></li>
171+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/ads1x15/include/ads1x15.hpp">components/ads1x15/include/ads1x15.hpp</a></p></li>
172172
</ul>
173173
</section>
174174
<section id="classes">

Diff for: docs/adc/ads7138.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<li><a href="index.html">ADC APIs</a> &raquo;</li>
152152
<li>ADS7138 I2C ADC</li>
153153
<li class="wy-breadcrumbs-aside">
154-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/ads7138.rst" class="fa fa-github"> Edit on GitHub</a>
154+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/ads7138.rst" class="fa fa-github"> Edit on GitHub</a>
155155
</li>
156156
</ul>
157157
<hr/>
@@ -173,7 +173,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
173173
<section id="header-file">
174174
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
175175
<ul class="simple">
176-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/ads7138/include/ads7138.hpp">components/ads7138/include/ads7138.hpp</a></p></li>
176+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/ads7138/include/ads7138.hpp">components/ads7138/include/ads7138.hpp</a></p></li>
177177
</ul>
178178
</section>
179179
<section id="classes">

Diff for: docs/adc/continuous_adc.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<li><a href="index.html">ADC APIs</a> &raquo;</li>
152152
<li>Continuous ADC</li>
153153
<li class="wy-breadcrumbs-aside">
154-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/continuous_adc.rst" class="fa fa-github"> Edit on GitHub</a>
154+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/continuous_adc.rst" class="fa fa-github"> Edit on GitHub</a>
155155
</li>
156156
</ul>
157157
<hr/>
@@ -173,7 +173,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
173173
<section id="header-file">
174174
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
175175
<ul class="simple">
176-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/adc/include/continuous_adc.hpp">components/adc/include/continuous_adc.hpp</a></p></li>
176+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/adc/include/continuous_adc.hpp">components/adc/include/continuous_adc.hpp</a></p></li>
177177
</ul>
178178
</section>
179179
<section id="classes">

Diff for: docs/adc/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
144144
<li>ADC APIs</li>
145145
<li class="wy-breadcrumbs-aside">
146-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/index.rst" class="fa fa-github"> Edit on GitHub</a>
146+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/index.rst" class="fa fa-github"> Edit on GitHub</a>
147147
</li>
148148
</ul>
149149
<hr/>

Diff for: docs/adc/oneshot_adc.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<li><a href="index.html">ADC APIs</a> &raquo;</li>
152152
<li>Oneshot ADC</li>
153153
<li class="wy-breadcrumbs-aside">
154-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/oneshot_adc.rst" class="fa fa-github"> Edit on GitHub</a>
154+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/oneshot_adc.rst" class="fa fa-github"> Edit on GitHub</a>
155155
</li>
156156
</ul>
157157
<hr/>
@@ -172,7 +172,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
172172
<section id="header-file">
173173
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
174174
<ul class="simple">
175-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/adc/include/oneshot_adc.hpp">components/adc/include/oneshot_adc.hpp</a></p></li>
175+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/adc/include/oneshot_adc.hpp">components/adc/include/oneshot_adc.hpp</a></p></li>
176176
</ul>
177177
</section>
178178
<section id="classes">

Diff for: docs/adc/tla2528.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<li><a href="index.html">ADC APIs</a> &raquo;</li>
152152
<li>TLA2528 I2C ADC</li>
153153
<li class="wy-breadcrumbs-aside">
154-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/adc/tla2528.rst" class="fa fa-github"> Edit on GitHub</a>
154+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/adc/tla2528.rst" class="fa fa-github"> Edit on GitHub</a>
155155
</li>
156156
</ul>
157157
<hr/>
@@ -173,7 +173,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
173173
<section id="header-file">
174174
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
175175
<ul class="simple">
176-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/tla2528/include/tla2528.hpp">components/tla2528/include/tla2528.hpp</a></p></li>
176+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/tla2528/include/tla2528.hpp">components/tla2528/include/tla2528.hpp</a></p></li>
177177
</ul>
178178
</section>
179179
<section id="classes">

Diff for: docs/base_component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
143143
<li>Base Compoenent</li>
144144
<li class="wy-breadcrumbs-aside">
145-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/base_component.rst" class="fa fa-github"> Edit on GitHub</a>
145+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/base_component.rst" class="fa fa-github"> Edit on GitHub</a>
146146
</li>
147147
</ul>
148148
<hr/>
@@ -162,7 +162,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
162162
<section id="header-file">
163163
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
164164
<ul class="simple">
165-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/base_component/include/base_component.hpp">components/base_component/include/base_component.hpp</a></p></li>
165+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/base_component/include/base_component.hpp">components/base_component/include/base_component.hpp</a></p></li>
166166
</ul>
167167
</section>
168168
<section id="classes">

Diff for: docs/base_peripheral.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
143143
<li>Base Peripheral</li>
144144
<li class="wy-breadcrumbs-aside">
145-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/base_peripheral.rst" class="fa fa-github"> Edit on GitHub</a>
145+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/base_peripheral.rst" class="fa fa-github"> Edit on GitHub</a>
146146
</li>
147147
</ul>
148148
<hr/>
@@ -166,7 +166,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
166166
<section id="header-file">
167167
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
168168
<ul class="simple">
169-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/base_peripheral/include/base_peripheral.hpp">components/base_peripheral/include/base_peripheral.hpp</a></p></li>
169+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/base_peripheral/include/base_peripheral.hpp">components/base_peripheral/include/base_peripheral.hpp</a></p></li>
170170
</ul>
171171
</section>
172172
<section id="classes">

Diff for: docs/battery/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
139139
<li>Battery APIs</li>
140140
<li class="wy-breadcrumbs-aside">
141-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/battery/index.rst" class="fa fa-github"> Edit on GitHub</a>
141+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/battery/index.rst" class="fa fa-github"> Edit on GitHub</a>
142142
</li>
143143
</ul>
144144
<hr/>

Diff for: docs/battery/max1704x.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
<li><a href="index.html">Battery APIs</a> &raquo;</li>
147147
<li>MAX1704X</li>
148148
<li class="wy-breadcrumbs-aside">
149-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/battery/max1704x.rst" class="fa fa-github"> Edit on GitHub</a>
149+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/battery/max1704x.rst" class="fa fa-github"> Edit on GitHub</a>
150150
</li>
151151
</ul>
152152
<hr/>
@@ -180,7 +180,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
180180
<section id="header-file">
181181
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
182182
<ul class="simple">
183-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/max1704x/include/max1704x.hpp">components/max1704x/include/max1704x.hpp</a></p></li>
183+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/max1704x/include/max1704x.hpp">components/max1704x/include/max1704x.hpp</a></p></li>
184184
</ul>
185185
</section>
186186
<section id="classes">

Diff for: docs/bldc/bldc_driver.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
<li><a href="index.html">BLDC APIs</a> &raquo;</li>
148148
<li>BLDC Driver</li>
149149
<li class="wy-breadcrumbs-aside">
150-
<a href="https://github.com/esp-cpp/espp/blob/f3f15a27/docs/en/bldc/bldc_driver.rst" class="fa fa-github"> Edit on GitHub</a>
150+
<a href="https://github.com/esp-cpp/espp/blob/bfa883f3/docs/en/bldc/bldc_driver.rst" class="fa fa-github"> Edit on GitHub</a>
151151
</li>
152152
</ul>
153153
<hr/>
@@ -164,7 +164,7 @@ <h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to
164164
<section id="header-file">
165165
<h3>Header File<a class="headerlink" href="#header-file" title="Permalink to this headline"></a></h3>
166166
<ul class="simple">
167-
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/f3f15a27/components/bldc_driver/include/bldc_driver.hpp">components/bldc_driver/include/bldc_driver.hpp</a></p></li>
167+
<li><p><a class="reference external" href="https://github.com/esp-cpp/espp/blob/bfa883f3/components/bldc_driver/include/bldc_driver.hpp">components/bldc_driver/include/bldc_driver.hpp</a></p></li>
168168
</ul>
169169
</section>
170170
<section id="classes">

0 commit comments

Comments
 (0)