clock.c: make clock_10ms() and clock_250ms() static.
These shouldn't be called by outside code, use clock() instead. Surprisingly, this saves another 12 bytes binary size.
This commit is contained in:
parent
f06b013179
commit
8f94d4b421
4
clock.c
4
clock.c
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
called from clock_10ms(), do not call directly
|
called from clock_10ms(), do not call directly
|
||||||
*/
|
*/
|
||||||
void clock_250ms() {
|
static void clock_250ms() {
|
||||||
#ifndef NO_AUTO_IDLE
|
#ifndef NO_AUTO_IDLE
|
||||||
if (temp_all_zero()) {
|
if (temp_all_zero()) {
|
||||||
if (psu_timeout > (30 * 4)) {
|
if (psu_timeout > (30 * 4)) {
|
||||||
|
|
@ -67,7 +67,7 @@ void clock_250ms() {
|
||||||
|
|
||||||
called from clock(), do not call directly
|
called from clock(), do not call directly
|
||||||
*/
|
*/
|
||||||
void clock_10ms() {
|
static void clock_10ms() {
|
||||||
// reset watchdog
|
// reset watchdog
|
||||||
wd_reset();
|
wd_reset();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue