[FLYWOOF411] add board documentation
[inav/snaewe.git] / src / main / drivers / usb_msc.c
blob937a88fb174d5f8c13b16e9d154e58ab5c3e7d7c
1 /*
2 * This file is part of iNav
4 * iNav is free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
8 * any later version.
10 * iNav is distributed in the hope that it
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
21 #include "drivers/persistent.h"
22 #include <stdbool.h>
24 bool mscCheckBoot(void)
26 return (persistentObjectRead(PERSISTENT_OBJECT_RESET_REASON) == RESET_MSC_REQUEST);