Add void to functions without parameters

This commit is contained in:
andrethomas2 2018-12-18 21:14:55 +02:00 committed by GitHub
parent ce4db89eae
commit 201baa3513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ uint8_t az_state = 0;
/*********************************************************************************************/ /*********************************************************************************************/
void AzEverySecond() void AzEverySecond(void)
{ {
az_state++; az_state++;
if (5 == az_state) { // every 5 seconds if (5 == az_state) { // every 5 seconds
@ -242,7 +242,7 @@ void AzEverySecond()
/*********************************************************************************************/ /*********************************************************************************************/
void AzInit() void AzInit(void)
{ {
az_type = 0; az_type = 0;
if ((pin[GPIO_AZ_RXD] < 99) && (pin[GPIO_AZ_TXD] < 99)) { if ((pin[GPIO_AZ_RXD] < 99) && (pin[GPIO_AZ_TXD] < 99)) {