Skip to content
Snippets Groups Projects
Commit 80d2248d authored by fxk8y's avatar fxk8y :spider:
Browse files

namespacing parameters

parent d6ab4157
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ namespace qthing {
void add_dht22(gpio_num_t gpio, std::string name, dht22_measure_callback_t callback) {
void add_dht22(gpio_num_t gpio, std::string name, qthing::dht22_measure_callback_t callback) {
}
......
......@@ -103,7 +103,7 @@ namespace qthing {
typedef std::function<void(dht22_data_t)> dht22_measure_callback_t;
void add_dht22(gpio_num_t gpio, std::string name);
void add_dht22(gpio_num_t gpio, std::string name, dht22_measure_callback_t callback);
void add_dht22(gpio_num_t gpio, std::string name, qthing::dht22_measure_callback_t callback);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment