Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Dec 24, 2024
1 parent 955677f commit 9e702f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/driver/drv_openWeatherMap.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,18 +273,18 @@ waitFor WiFiState 4
owm_request
*/
void DRV_OpenWeatherMap_Init() {
//cmddetail:{"name":"owm_setup","args":"CMD_OWM_Setup",
//cmddetail:"descr":"",
//cmddetail:{"name":"owm_setup","args":"[lat][lng][api_key]",
//cmddetail:"descr":"Setups OWM driver for your location and API key",
//cmddetail:"fn":"NULL);","file":"driver/drv_openWeatherMap.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("owm_setup", CMD_OWM_Setup, NULL);
//cmddetail:{"name":"owm_request","args":"CMD_OWM_Request",
//cmddetail:"descr":"",
//cmddetail:{"name":"owm_request","args":"",
//cmddetail:"descr":"Sends OWM request to the API. Do not use it too often, as API may have limits",
//cmddetail:"fn":"NULL);","file":"driver/drv_openWeatherMap.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("owm_request", CMD_OWM_Request, NULL);
//cmddetail:{"name":"owm_channels","args":"CMD_OWM_Channels",
//cmddetail:"descr":"",
//cmddetail:{"name":"owm_channels","args":"[temperature][humidity][pressure]",
//cmddetail:"descr":"Sets channels that will be used to store OWM response results",
//cmddetail:"fn":"NULL);","file":"driver/drv_openWeatherMap.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("owm_channels", CMD_OWM_Channels, NULL);
Expand Down

0 comments on commit 9e702f9

Please sign in to comment.