- 博客(6)
- 收藏
- 关注
原创 GitHub Desktop 使用ssh推送或者下拉时候报错 Authentication failed. Some common reasons include
更多操作参考:https://goupos.top
2024-03-08 01:54:48 135
原创 GoupOS嵌入式实时操作系统
GoupOS: 嵌入式操作系统:https://gitee.com/xgm-embedded-os/GoupOS.git
2022-03-21 17:39:43 270
原创 c语言中合法语句但有bug语句,安全处理方式
所谓合法语句,但是有bug语句,请看下面这段代码示例一:#include <stdio.h>#include <stdint.h>int init = 4;int main(int argc, char **argv){ if(init-- > 0) { printf("测试 :%d\r\n",init); } return 0;}程序如果这样写,那么没有关系,程序正常运行;接下来就说说bug出现在何处
2022-02-25 10:57:33 3766
原创 嵌入式c关于函数内部创建无函名函数的结果返回;c89变量定义只能定义在左大括号函数。
#include <stdio.h>int main(){ char do_diva = 4; char testc = 10; printf("testc :%d\n",testc); testc = ({ \ int c = 2; \ int tou = 10; \ int fall ...
2022-02-16 13:37:54 379
原创 ..\USER\stm32f10x.h(298): error: #67: expected a "}"
相信很多人遇到过出现这个错误:…\USER\stm32f10x.h(298): error: #67: expected a “}”其它博主大多数都是去掉这个宏定义:STM32F10X_HD,不否认这种方法,此处引用博主:https://www.cnblogs.com/uestcman/p/9059510.html(转载处)此处引用博主:https://www.cnblogs.com/s...
2020-04-25 01:30:58 11778 10
原创 FAT文件管理系统出现错误 FR_DISK_ERR
主要时在该函数中返回值一定要设置成DRESULT disk_ioctl ( BYTE pdrv, /* Physical drive nmuber (0..) */ BYTE cmd, /* Control code */ void *buff /* Buffer to send/receive control data */){ DRESULT res;// int res...
2020-02-14 11:02:52 2043 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人