-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extmod: rename modhubcommon to pbhub
This file does not contain an actual python module, only helper functions, so rename it accordingly. Also remove nonexistant functions from the header file and add include guard.
- Loading branch information
Showing
5 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2018 Laurens Valk | ||
|
||
#ifndef _PB_EXTMOD_PBHUB_H_ | ||
#define _PB_EXTMOD_PBHUB_H_ | ||
|
||
#include "py/obj.h" | ||
|
||
/* Enums */ | ||
|
||
/* Module functions */ | ||
const mp_obj_fun_builtin_fixed_t hub_batt_volt_obj; | ||
const mp_obj_fun_builtin_fixed_t hub_batt_cur_obj; | ||
/* Functions */ | ||
const mp_obj_fun_builtin_fixed_t hub_shutdown_obj; | ||
const mp_obj_fun_builtin_fixed_t hub_reboot_obj; | ||
const mp_obj_fun_builtin_fixed_t hub_update_obj; | ||
|
||
#endif // _PB_EXTMOD_PBHUB_H_ |