From 357fe7ceed7c2cf00cbe1b26e19cd2b9fde51aab Mon Sep 17 00:00:00 2001 From: Guo Wenxue <guowenxue@gmail.com> Date: Wed, 24 Oct 2018 20:15:02 +0800 Subject: [PATCH] update socket_server.c, fix Address already in use bug, setsockopt must put b4 bind --- modules/c/led.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/c/led.h b/modules/c/led.h index 582d845..8e3b4fa 100644 --- a/modules/c/led.h +++ b/modules/c/led.h @@ -2,7 +2,7 @@ * Copyright: (C) 2018 LingYun IoT System Studio * All rights reserved. * - * Filename: led.c + * Filename: led.h * Description: This file is used to control RGB 3-colours LED * * pi@raspberrypi:~ $ gpio readall show BCM and wPi pinmap -- Gitblit v1.9.1